CVE-2024-27095 Decidim cross-site scripting (XSS) in the admin panel
An attacker can execute arbitrary scripts in the Decidim admin panel by modifying uploaded records, potentially compromising administrator accounts.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2024-27095?
CVE-2024-27095 is a medium-severity cross-site scripting vulnerability in decidim, published on 10 Jul 2024. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-79
Which versions are affected by CVE-2024-27095?
4 open source packages ship an affected version, including decidim-admin. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
decidim-admin RubyGems | All versions | 0.27.6 |
decidim-admin RubyGems | All versions | 0.27.6 |
decidim-admin RubyGems | From 0.28.0.rc1 | 0.28.1 |
decidim-admin RubyGems | From 0.28.0.rc1 | 0.28.1 |
Products include Decidim Decidim.
How do I fix CVE-2024-27095?
Upgrade decidim-admin to a fixed version for your release line: 0.27.6 or 0.28.1.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-27095 being exploited?
There is no known exploitation of CVE-2024-27095 in the wild and no public exploit code.
Other vulnerabilities in decidim
- CVE-2026-23891 Decidim has a Cross-site scripting (XSS) vulnerability via user name field
- CVE-2023-36465 Decidim has broken access control in templates
- CVE-2025-65017 Decidim's private data exports can lead to data leaks
- CVE-2023-32693 Decidim Cross-site Scripting vulnerability in the external link redirections
- CVE-2023-34089 Decidim Cross-site Scripting vulnerability in the processes filter
Sources
Also known as GHSA-529p-jj47-w3m3.