CVE-2024-32469 Decidim has cross-site scripting (XSS) in the pagination
An attacker can execute arbitrary scripts in the victim's browser via a malformed URL in the pagination feature of Decidim.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2024-32469?
CVE-2024-32469 is a high-severity cross-site scripting vulnerability in decidim, published on 10 Jul 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Decidim is a participatory democracy framework. The pagination feature used in searches and filters is subject to potential XSS attack through a malformed URL using the GET parameter `per_page`. This vulnerability is fixed in 0.27.6 and 0.28.1.
Weakness: CWE-79
Which versions are affected by CVE-2024-32469?
4 open source packages ship an affected version, including decidim.
| Package | Affected | Fixed in |
|---|---|---|
decidim RubyGems | All versions | 0.27.6 |
decidim RubyGems | All versions | 0.27.6 |
decidim RubyGems | From 0.28.0.rc1 | 0.28.1 |
decidim RubyGems | From 0.28.0.rc1 | 0.28.1 |
How do I fix CVE-2024-32469?
Upgrade decidim 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-32469 being exploited?
There is no known exploitation of CVE-2024-32469 in the wild and no public exploit code.
Sources
Also known as GHSA-7cx8-44pc-xv3q.