CVE-2024-8661: Concrete5/concrete5 Cross-Site Scripting Vulnerability
MODERATECVE-2024-8661 is a MODERATE (CVSS 2.4) 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 concrete cms stored xss in the "next&previous nav" block. Remediation is available by upgrading affected packages to version 8.5.19, 9.3.4.
CVE-2024-8661 at a Glance
Security Impact
CVSS: 2.4
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:U/C:N/I:L/A:N).
How to Fix CVE-2024-8661
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 8.5.19
Upgrade concrete5/concrete5 to 9.3.4
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-8661, 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 8.5.19), 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-8661 Affected Concrete5/concrete5 Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
concrete5/concrete5
|
Packagist |
< 8.5.19
|
8.5.19
|
|
concrete5/concrete5
|
Packagist |
≥ 9.0.0
< 9.3.4
|
9.3.4
|
References
Frequently Asked Questions
What is CVE-2024-8661?
Which Concrete5/concrete5 versions are affected?
What version fixes CVE-2024-8661?
Is concrete5/concrete5 affected?
What is the CVSS score of CVE-2024-8661?
What CWE is associated with CVE-2024-8661?
How can I check Packagist dependencies for CVE-2024-8661?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-xmxj-v2q8-8qx6",
"modified" : "2024-09-16T21:23:24Z",
"published" : "2024-09-16T18:31:22Z",
"aliases" : [ "CVE-2024-8661" ],
"summary" : "Concrete CMS Stored XSS in the \"Next&Previous Nav\" block",
"details" : "Concrete CMS versions 9.0.0 to 9.3.4 and below 8.5.19 are vulnerable to Stored XSS in the \"Next&Previous Nav\" block. A rogue administrator could add a malicious payload by executing it in the browsers of targeted users. Since the \"Next&Previous Nav\" block output was not sufficiently sanitized, the malicious payload could be executed in the browsers of targeted users.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:L/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "concrete5/concrete5"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "8.5.19"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "concrete5/concrete5"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "9.0.0"
}, {
"fixed" : "9.3.4"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-8661"
}, {
"type" : "WEB",
"url" : "https://github.com/concretecms/concretecms/pull/12204"
}, {
"type" : "WEB",
"url" : "https://github.com/concretecms/concretecms/commit/3e548b416ae32efee1e0a42c4510be1106c7eb25"
}, {
"type" : "WEB",
"url" : "https://github.com/concretecms/concretecms/commit/ce5ee2ab83fe8de6fa012dd51c5a1dde05cb0dc4"
}, {
"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-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-09-16T21:23:24Z",
"nvd_published_at" : "2024-09-16T18:15:54Z"
}
}