CVE-2024-27095: Decidim cross-site scripting (XSS) in the admin panel

Published Jul 10, 2024
·
Updated

Impact

The admin panel is subject to potential XSS attach in case the attacker manages to modify some records being uploaded to the server.

The attacker is able to change e.g. to <svg onload=alert('XSS')> if they know how to craft these requests themselves. And then enter the returned blob ID to the form inputs manually by modifying the edit page source.

Patches

Available in versions 0.27.6 and 0.28.1.

Workarounds

Review the user accounts that have access to the admin panel (i.e. general Administrators, and participatory space's Administrators) and remove access to them if they don't need it.

References

OWASP ASVS v4.0.3-5.1.3

Other sources

Decidim is a participatory democracy framework. The admin panel is subject to potential XSS attach in case the attacker manages to modify some records being uploaded to the server. This vulnerability is fixed in 0.27.6 and 0.28.1.

NVD

Affected Software

9 affected componentsFixes available
rubygems/decidim-admin>=0.28.0.rc1<0.28.1
0.28.1
rubygems/decidim-admin<0.27.6
0.27.6
decidim Decidim Ruby<0.27.6
decidim Decidim Ruby=0.28.0
decidim Decidim Ruby=0.28.0-rc1
decidim Decidim Ruby=0.28.0-rc2
decidim Decidim Ruby=0.28.0-rc3
decidim Decidim Ruby=0.28.0-rc4
decidim Decidim Ruby=0.28.0-rc5

Event History

Jul 10, 2024
Advisory Published
via GitHub·04:02 PM
CVE Published
via MITRE·07:07 PM
Data Sourced
via MITRE·07:07 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:15 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2024-27095?

CVE-2024-27095 is considered a high severity vulnerability due to its potential for XSS attacks.

2

How do I fix CVE-2024-27095?

To fix CVE-2024-27095, upgrade to fixed versions of the 'decidim-admin' package, specifically 0.28.1 or 0.27.6.

3

Which versions of Decidim are affected by CVE-2024-27095?

CVE-2024-27095 affects Decidim versions up to 0.28.0, including 0.28.0-rc1 through 0.28.0-rc5 and up to 0.27.6.

4

What type of attacks are possible with CVE-2024-27095?

CVE-2024-27095 allows attackers to perform cross-site scripting (XSS) through manipulated record uploads.

5

Who is at risk from CVE-2024-27095?

Administrators using vulnerable versions of Decidim are at risk from CVE-2024-27095.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203