CVE-2023-32693 Decidim Cross-site Scripting vulnerability in the external link redirections

High 8.1 Published Updated

Remote attackers can execute JavaScript in logged-in users' browsers via external link redirections, potentially manipulating user actions like endorsing proposals.

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-2023-32693?

CVE-2023-32693 is a high-severity cross-site scripting vulnerability in decidim, published on 11 Jul 2023. 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, written in Ruby on Rails, originally developed for the Barcelona City government online and offline participation website. The external link feature is susceptible to cross-site scripting. This allows a remote attacker to execute JavaScript code in the context of a currently logged-in user. An attacker could use this vulnerability to make other users endorse or support proposals they have no intention of supporting or endorsing. The problem was patched in versions 0.27.3 and 0.26.7.

Weakness: CWE-79

Which versions are affected by CVE-2023-32693?

8 open source packages ship an affected version, including decidim and decidim-core. It affects 1 product.

PackageAffectedFixed in
decidim RubyGemsFrom 0.25.00.26.7
decidim RubyGemsFrom 0.25.00.26.7
decidim RubyGemsFrom 0.27.00.27.3
decidim RubyGemsFrom 0.27.00.27.3
decidim-core RubyGemsFrom 0.25.00.26.7
decidim-core RubyGemsFrom 0.25.00.26.7
2 more packages
decidim-core RubyGemsFrom 0.27.00.27.3
decidim-core RubyGemsFrom 0.27.00.27.3

Products include Decidim Decidim.

How do I fix CVE-2023-32693?

Upgrade decidim to a fixed version for your release line: 0.26.7 or 0.27.3.

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-2023-32693 being exploited?

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

Sources

Also known as GHSA-469h-mqg8-535r.

Is CVE-2023-32693 in your software?

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

Check your SBOMs for free