CVE-2024-1246: Concrete5/concrete5 Cross-Site Scripting Vulnerability
LOWCVE-2024-1246 is a LOW (CVSS 2.0) cross-site scripting vulnerability (CWE-20: Improper Input Validation) affecting Concrete5/concrete5 libraries in the Packagist ecosystem. The issue involves concrete cms vulnerable to reflected xss via the image url import feature. Remediation is available by upgrading affected packages to version 9.2.5.
CVE-2024-1246 at a Glance
Security Impact
CVSS: 2.0
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:N/A:N).
How to Fix CVE-2024-1246
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.2.5
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-1246, 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.2.5), 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-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. 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-1246 Affected Concrete5/concrete5 Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
concrete5/concrete5
|
Packagist |
≥ 9.0.0RC1
< 9.2.5
|
9.2.5
|
References
Frequently Asked Questions
What is CVE-2024-1246?
Which Concrete5/concrete5 versions are affected?
What version fixes CVE-2024-1246?
Is concrete5/concrete5 affected?
What is the CVSS score of CVE-2024-1246?
What CWE is associated with CVE-2024-1246?
How can I check Packagist dependencies for CVE-2024-1246?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9v3w-cj7m-qh5g",
"modified" : "2024-02-15T15:01:34Z",
"published" : "2024-02-09T21:30:57Z",
"aliases" : [ "CVE-2024-1246" ],
"summary" : "Concrete CMS vulnerable to reflected XSS via the Image URL Import Feature",
"details" : "Concrete CMS in version 9 before 9.2.5 is vulnerable to reflected XSS via the Image URL Import Feature due to insufficient validation of administrator provided data. A rogue administrator could inject malicious code when importing images, leading to the execution of the malicious code on the website user’s browser. The Concrete CMS Security team scored this 2 with CVSS v3 vector AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:N/A:N https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator . This does not affect Concrete versions prior to version 9.\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "concrete5/concrete5"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "9.0.0RC1"
}, {
"fixed" : "9.2.5"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-1246"
}, {
"type" : "WEB",
"url" : "https://github.com/concretecms/concretecms/commit/59a07472ad6349a2c5fb455837a54ed1fe3f6953"
}, {
"type" : "WEB",
"url" : "https://documentation.concretecms.org/9-x/developers/introduction/version-history/925-release-notes"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/concretecms/concretecms"
}, {
"type" : "WEB",
"url" : "https://www.concretecms.org/about/project-news/security/2024-02-04-security-advisory"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20", "CWE-79" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2024-02-09T22:17:16Z",
"nvd_published_at" : "2024-02-09T20:15:54Z"
}
}