CVE-2024-8291: Concrete5/concrete5 Cross Site Scripting Vulnerability
MODERATECVE-2024-8291 is a MODERATE (CVSS 4.8) cross site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Concrete5/concrete5 libraries in the Packagist ecosystem. The issue involves cross site scripting in concrete cms. Remediation is available by upgrading affected packages to version 9.3.4, 8.5.19.
CVE-2024-8291 at a Glance
Security Impact
CVSS: 4.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N).
How to Fix CVE-2024-8291
To remediate this vulnerability, upgrade all affected Concrete5/concrete5 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade concrete5/concrete5 to 9.3.4
Upgrade concrete5/concrete5 to 8.5.19
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for concrete5/concrete5
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-8291, inspect your project dependencies for Concrete5/concrete5:
inspect dependencies for concrete5/concrete5
Analyze the terminal output to locate any version of Concrete5/concrete5 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 9.3.4), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Concrete5/concrete5, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-8291 Affected Concrete5/concrete5 Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
concrete5/concrete5
|
Packagist |
≥ 9.0.0
< 9.3.4
|
9.3.4
|
|
concrete5/concrete5
|
Packagist |
< 8.5.19
|
8.5.19
|
References
Frequently Asked Questions
What is CVE-2024-8291?
Which Concrete5/concrete5 versions are affected?
What version fixes CVE-2024-8291?
Is concrete5/concrete5 affected?
What is the CVSS score of CVE-2024-8291?
What CWE is associated with CVE-2024-8291?
How can I check Packagist dependencies for CVE-2024-8291?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-q7qr-22qw-pqgx",
"modified" : "2025-01-21T19:14:51Z",
"published" : "2024-09-25T03:30:36Z",
"aliases" : [ "CVE-2024-8291" ],
"summary" : "Cross site scripting in Concrete CMS",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N"
}, {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "concrete5/concrete5"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "9.0.0"
}, {
"fixed" : "9.3.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "concrete5/concrete5"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "8.5.19"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-8291"
}, {
"type" : "WEB",
"url" : "https://github.com/concretecms/concretecms/pull/12183"
}, {
"type" : "WEB",
"url" : "https://github.com/concretecms/concretecms/commit/d97b43b8dd0b5578b41d2ffb5b2186a44c2c772c"
}, {
"type" : "WEB",
"url" : "https://github.com/concretecms/concretecms/commit/dbce253166f6b10ff3e0c09e50fd395370b8b065"
}, {
"type" : "WEB",
"url" : "https://documentation.concretecms.org/9-x/developers/introduction/version-history/934-release-notes"
}, {
"type" : "WEB",
"url" : "https://documentation.concretecms.org/developers/introduction/version-history/8519-release-notes"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/concretecms/concretecms"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-22", "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-09-25T18:56:45Z",
"nvd_published_at" : "2024-09-25T01:15:46Z"
}
}