CVE-2024-41673 Decidim has a cross-site scripting vulnerability in the version control page

High 7.1 Published Updated

An attacker can execute arbitrary scripts in the version control page via a malformed URL, potentially compromising user sessions.

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-41673?

CVE-2024-41673 is a high-severity cross-site scripting vulnerability in decidim, published on 1 Oct 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 version control feature used in resources is subject to potential XSS attack through a malformed URL. This vulnerability is fixed in 0.27.8.

Weakness: CWE-79

Which versions are affected by CVE-2024-41673?

2 open source packages ship an affected version, including decidim.

PackageAffectedFixed in
decidim RubyGemsAll versions0.27.8
decidim RubyGemsAll versions0.27.8

How do I fix CVE-2024-41673?

Upgrade decidim to 0.27.8 or later.

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-41673 being exploited?

There is no known exploitation of CVE-2024-41673 in the wild and no public exploit code.

Sources

Also known as GHSA-cc4g-m3g7-xmw8.

Is CVE-2024-41673 in your software?

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

Check your SBOMs for free