CVE-2024-32469 Decidim has cross-site scripting (XSS) in the pagination

High 7.1 Published Updated

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.

PackageAffectedFixed in
decidim RubyGemsAll versions0.27.6
decidim RubyGemsAll versions0.27.6
decidim RubyGemsFrom 0.28.0.rc10.28.1
decidim RubyGemsFrom 0.28.0.rc10.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.

Is CVE-2024-32469 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free