CVE-2024-8291 Concrete CMS Stored XSS in Image Editor Background Color

Medium 5.1 Published Updated

A rogue admin can inject malicious scripts via the Image Editor Background Color field, leading to stored XSS attacks against other users.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-8291?

CVE-2024-8291 is a medium-severity cross-site scripting vulnerability in Concretecms Concrete Cms, published on 24 Sep 2024. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Concrete CMS versions 9.0.0 to 9.3.3 and below 8.5.19 are vulnerable to Stored XSS in Image Editor Background Color.  A rogue admin could add malicious code to the Thumbnails/Add-Type. The Concrete CMS Security Team gave this a CVSS v4 score of 5.1 with vector https://www.first.org/cvss/calculator/4.0#CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N. Thanks,  Alexey Solovyev for reporting. (CNA updated this risk rank on 17 Jan 2025 by lowering the AC based on CVSS 4.0 documentation that access privileges should not be considered for AC).

Weakness: CWE-79, CWE-22

Which versions are affected by CVE-2024-8291?

4 open source packages ship an affected version, including concrete5/concrete5. It affects 1 product.

PackageAffectedFixed in
concrete5/concrete5 PackagistAll versions8.5.19
concrete5/concrete5 PackagistAll versions8.5.19
concrete5/concrete5 PackagistFrom 9.0.09.3.4
concrete5/concrete5 PackagistFrom 9.0.09.3.4

Products include Concretecms Concrete Cms.

How do I fix CVE-2024-8291?

Upgrade concrete5/concrete5 to a fixed version for your release line: 8.5.19 or 9.3.4.

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

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

All Concretecms Concrete Cms vulnerabilities

Sources

Also known as GHSA-q7qr-22qw-pqgx.

Is CVE-2024-8291 in your software?

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

Check your SBOMs for free