CVE-2024-27095: Decidim cross-site scripting (XSS) in the admin panel
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 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.
Published Jul 10, 2024 · Updated Jul 31, 2024
Affected packages
decidim-admin
- Ecosystem
- RubyGems
- Affected
- < 0.27.6
- Fixed in
- 0.27.6
- Check
bundle info decidim-admin
decidim-admin
- Ecosystem
- RubyGems
- Affected
- >= 0.28.0.rc1, < 0.28.1
- Fixed in
- 0.28.1
- Check
bundle info decidim-admin
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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
References
- https://github.com/decidim/decidim/security/advisories/GHSA-529p-jj47-w3m3
- https://github.com/decidim/decidim/releases/tag/v0.27.6
- https://github.com/decidim/decidim/releases/tag/v0.28.1
- https://nvd.nist.gov/vuln/detail/CVE-2024-27095
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/decidim-admin/CVE-2024-27095.yml
- https://github.com/advisories/GHSA-529p-jj47-w3m3
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More RubyGems vulnerabilities
All RubyGems entriesCVE-2026-45376
Decidim: Admin user search allows SQL injection through similarity-based sorting
medium6.8Jul 13, 2026CVE-2024-32034
Decidim::Admin vulnerable to cross-site scripting (XSS) in the admin activity log
medium6.8Sep 16, 2024CVE-2023-48220
Possibility to circumvent the invitation token expiry period
medium5.7Feb 20, 2024
