CVE-2024-8660: Concrete5/concrete5 Cross-Site Scripting Vulnerability

MODERATE
Advisory Identifier: GHSA-998c-q8hh-h8gv
CVSS 4.8
CWE-79
Published
Advisory Summary

CVE-2024-8660 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 concrete cms stored xss vulnerability in the "top navigator bar" block. Remediation is available by upgrading affected packages to version 9.3.3.

CVE-2024-8660 at a Glance

CVE Identifier CVE-2024-8660
GHSA Identifier GHSA-998c-q8hh-h8gv
Severity MODERATE
CVSS v3.1 Base Score 4.8
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Concrete5/concrete5
Package Ecosystem Packagist
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required High (PR:H)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2024-8660

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.

concrete5/concrete5 fixed: 9.3.3
Upgrade concrete5/concrete5 to 9.3.3
Verify Direct and Transitive Dependencies

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-8660, 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.3), 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

Concrete CMS versions 9.0.0 through 9.3.3 are affected by a stored XSS vulnerability in the "Top Navigator Bar" block. Since the "Top Navigator Bar" output was not sufficiently sanitized, a rogue administrator could add a malicious payload that could be executed when targeted users visited the home page. This does not affect versions below 9.0.0 since they do not have the Top Navigator Bar Block. Thanks, Chu Quoc Khanh for reporting.

CVE-2024-8660 Affected Concrete5/concrete5 Versions

1 component(s)
Fixed Versions:
9.3.3
Product / Package Ecosystem Affected Versions Fixed Version
concrete5/concrete5
Packagist
≥ 9.0.0
< 9.3.3
9.3.3

References

Frequently Asked Questions

What is CVE-2024-8660?
CVE-2024-8660 is a security vulnerability in Concrete5/concrete5 involving Concrete CMS stored XSS vulnerability in the "Top Navigator Bar" block under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Concrete5/concrete5 versions are affected?
Affected versions include releases prior to 9.3.3 across affected packages: concrete5/concrete5.
What version fixes CVE-2024-8660?
Upgrading to 9.3.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is concrete5/concrete5 affected?
Yes, concrete5/concrete5 is affected in releases prior to 9.3.3. Upgrade your dependency to 9.3.3 or later.
What is the CVSS score of CVE-2024-8660?
CVE-2024-8660 has a CVSS v3.1 base score of 4.8 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N.
What CWE is associated with CVE-2024-8660?
CVE-2024-8660 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (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.).
How can I check Packagist dependencies for CVE-2024-8660?
Run the dependency tree command: 'inspect dependencies for concrete5/concrete5'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-998c-q8hh-h8gv",
  "modified" : "2024-09-17T22:02:26Z",
  "published" : "2024-09-17T21:30:32Z",
  "aliases" : [ "CVE-2024-8660" ],
  "summary" : "Concrete CMS stored XSS vulnerability in the \"Top Navigator Bar\" block",
  "details" : "Concrete CMS versions 9.0.0 through 9.3.3 are affected by a stored XSS vulnerability in the \"Top Navigator Bar\" block. Since the \"Top Navigator Bar\" output was not sufficiently sanitized, a rogue administrator could add a malicious payload that could be executed when targeted users visited the home page. This does not affect versions below 9.0.0  since they do not have the Top\nNavigator Bar Block. Thanks, Chu Quoc Khanh for reporting.",
  "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: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" : "9.0.0"
      }, {
        "fixed" : "9.3.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-8660"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/concretecms/concretecms/pull/12128"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/concretecms/concretecms/commit/f5a01c88fb2630db96e58dcd7f52ea41e516d4e9"
  }, {
    "type" : "WEB",
    "url" : "https://documentation.concretecms.org/9-x/developers/introduction/version-history/934-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-17T22:02:26Z",
    "nvd_published_at" : "2024-09-17T19:15:28Z"
  }
}