CVE-2025-0660: Concrete5/concrete5 Cross-Site Scripting Vulnerability

MODERATE
Advisory Identifier: GHSA-pvmx-mjmh-jfcx
CWE-20 CWE-79
Published
Advisory Summary

CVE-2025-0660 is a MODERATE cross-site scripting vulnerability (CWE-20: Improper Input Validation) affecting Concrete5/concrete5 libraries in the Packagist ecosystem. The issue involves concrete cms affected by a stored xss in folder function.the "add folder" functionality. Remediation is available by upgrading affected packages to version 9.4.0RC1.

CVE-2025-0660 at a Glance

CVE Identifier CVE-2025-0660
GHSA Identifier GHSA-pvmx-mjmh-jfcx
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-20: Improper Input Validation
Affected Product Concrete5/concrete5
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix CVE-2025-0660

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.4.0RC1
Upgrade concrete5/concrete5 to 9.4.0RC1
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-2025-0660, 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.4.0RC1), 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

Concrete CMS versions 9.0.0 through 9.3.9 are affected by a stored XSS in Folder Function.The "Add Folder" functionality lacks input sanitization, allowing a rogue admin to inject XSS payloads as folder names.  The Concrete CMS security team gave this vulnerability a CVSS 4.0 Score of 4.8 with vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N. Versions below 9 are not affected. Thanks, Alfin Joseph for reporting.

CVE-2025-0660 Affected Concrete5/concrete5 Versions

1 component(s)
Fixed Versions:
9.4.0RC1
Product / Package Ecosystem Affected Versions Fixed Version
concrete5/concrete5
Packagist
< 9.4.0RC1
9.4.0RC1

References

Frequently Asked Questions

What is CVE-2025-0660?
CVE-2025-0660 is a security vulnerability in Concrete5/concrete5 involving Concrete CMS affected by a stored XSS in Folder Function.The "Add Folder" functionality under CWE-20: Improper Input Validation.
Which Concrete5/concrete5 versions are affected?
Affected versions include releases prior to 9.4.0RC1 across affected packages: concrete5/concrete5.
What version fixes CVE-2025-0660?
Upgrading to 9.4.0RC1 (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.4.0RC1. Upgrade your dependency to 9.4.0RC1 or later.
What CWE is associated with CVE-2025-0660?
CVE-2025-0660 is classified under CWE-20: Improper Input Validation (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.).
How can I check Packagist dependencies for CVE-2025-0660?
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-pvmx-mjmh-jfcx",
  "modified" : "2025-03-10T22:26:16Z",
  "published" : "2025-03-10T21:31:12Z",
  "aliases" : [ "CVE-2025-0660" ],
  "summary" : "Concrete CMS affected by a stored XSS in Folder Function.The \"Add Folder\" functionality",
  "details" : "Concrete CMS versions 9.0.0 through 9.3.9 are affected by a stored XSS in Folder Function.The \"Add Folder\" functionality lacks input sanitization, allowing a rogue admin to inject XSS payloads as folder names.  The Concrete CMS security team gave this vulnerability a CVSS 4.0 Score of 4.8 with vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N. Versions below 9 are not affected. Thanks, Alfin Joseph for reporting.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "concrete5/concrete5"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "9.4.0RC1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-0660"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/concretecms/bedrock/pull/370"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/concretecms/concretecms/pull/12454"
  }, {
    "type" : "WEB",
    "url" : "https://documentation.concretecms.org/9-x/developers/introduction/version-history/940-release-notes"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/concretecms/concretecms"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20", "CWE-79" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-03-10T22:26:16Z",
    "nvd_published_at" : "2025-03-10T21:15:40Z"
  }
}