CVE-2025-66468: Aimeos/ai cms grapesjs Cross-Site Scripting Vulnerability

HIGH
Advisory Identifier: GHSA-424m-fj2q-g7vg
CVSS 7.6
CWE-79
Published
Advisory Summary

CVE-2025-66468 is a HIGH (CVSS 7.6) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Aimeos/ai cms grapesjs libraries in the Packagist ecosystem. The issue involves aimeos grapesjs cms extension has possible stored xss that's exploitable by authenticated editors. Remediation is available by upgrading affected packages to version 2021.10.8, 2022.10.9, 2023.10.15, 2024.10.8, 2025.10.2.

CVE-2025-66468 at a Glance

CVE Identifier CVE-2025-66468
GHSA Identifier GHSA-424m-fj2q-g7vg
Severity HIGH
CVSS v3.1 Base Score 7.6
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Aimeos/ai cms grapesjs
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 7.6

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:C/C:H/I:H/A:H).

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

How to Fix CVE-2025-66468

To remediate this vulnerability, upgrade all affected Aimeos/ai cms grapesjs dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

aimeos/ai-cms-grapesjs fixed: 2021.10.8
Upgrade aimeos/ai-cms-grapesjs to 2021.10.8
aimeos/ai-cms-grapesjs fixed: 2022.10.9
Upgrade aimeos/ai-cms-grapesjs to 2022.10.9
aimeos/ai-cms-grapesjs fixed: 2023.10.15
Upgrade aimeos/ai-cms-grapesjs to 2023.10.15
aimeos/ai-cms-grapesjs fixed: 2024.10.8
Upgrade aimeos/ai-cms-grapesjs to 2024.10.8
aimeos/ai-cms-grapesjs fixed: 2025.10.2
Upgrade aimeos/ai-cms-grapesjs to 2025.10.2
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 aimeos/ai-cms-grapesjs

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-66468, inspect your project dependencies for Aimeos/ai cms grapesjs:

inspect dependencies for aimeos/ai-cms-grapesjs

Analyze the terminal output to locate any version of Aimeos/ai cms grapesjs in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2021.10.8), 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 Aimeos/ai cms grapesjs, 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

### Impact Javascript code can be injected by malicious editors for a stored XSS attack if the standard Content Security Policy is disabled. ### Workaround If the standard CSP rules are active (default in production mode), an exploit isn't possible. ### Credits Lwin Min Oo <lwinminoo2244@gmail.com>

CVE-2025-66468 Affected Aimeos/ai cms grapesjs Versions

5 component(s)
Fixed Versions:
2021.10.82022.10.92023.10.152024.10.82025.10.2
Product / Package Ecosystem Affected Versions Fixed Version
aimeos/ai-cms-grapesjs
Packagist
≥ 2021.04.1
< 2021.10.8
2021.10.8
aimeos/ai-cms-grapesjs
Packagist
≥ 2022.04.1
< 2022.10.9
2022.10.9
aimeos/ai-cms-grapesjs
Packagist
≥ 2023.04.1
< 2023.10.15
2023.10.15
aimeos/ai-cms-grapesjs
Packagist
≥ 2024.04.1
< 2024.10.8
2024.10.8
aimeos/ai-cms-grapesjs
Packagist
≥ 2025.04.1
< 2025.10.2
2025.10.2

References

Frequently Asked Questions

What is CVE-2025-66468?
CVE-2025-66468 is a security vulnerability in Aimeos/ai cms grapesjs involving Aimeos GrapesJS CMS extension has possible stored XSS that's exploitable by authenticated editors under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Aimeos/ai cms grapesjs versions are affected?
Affected versions include releases prior to 2021.10.8, 2022.10.9, 2023.10.15, 2024.10.8, 2025.10.2 across affected packages: aimeos/ai-cms-grapesjs.
What version fixes CVE-2025-66468?
Upgrading to 2021.10.8, 2022.10.9, 2023.10.15, 2024.10.8, 2025.10.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is aimeos/ai-cms-grapesjs affected?
Yes, aimeos/ai-cms-grapesjs is affected in releases prior to 2021.10.8, 2022.10.9, 2023.10.15, 2024.10.8, 2025.10.2. Upgrade your dependency to 2021.10.8, 2022.10.9, 2023.10.15, 2024.10.8, 2025.10.2 or later.
What is the CVSS score of CVE-2025-66468?
CVE-2025-66468 has a CVSS v3.1 base score of 7.6 (HIGH) with vector string CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H.
What CWE is associated with CVE-2025-66468?
CVE-2025-66468 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-2025-66468?
Run the dependency tree command: 'inspect dependencies for aimeos/ai-cms-grapesjs'. 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-424m-fj2q-g7vg",
  "modified" : "2025-12-03T14:05:28Z",
  "published" : "2025-12-03T14:05:28Z",
  "aliases" : [ "CVE-2025-66468" ],
  "summary" : "Aimeos GrapesJS CMS extension has possible stored XSS that's exploitable by authenticated editors",
  "details" : "### Impact\n\nJavascript code can be injected by malicious editors for a stored XSS attack if the standard Content Security Policy is disabled.\n\n### Workaround\n\nIf the standard CSP rules are active (default in production mode), an exploit isn't possible.\n\n### Credits\n\nLwin Min Oo <lwinminoo2244@gmail.com>",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "aimeos/ai-cms-grapesjs"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2021.04.1"
      }, {
        "fixed" : "2021.10.8"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "aimeos/ai-cms-grapesjs"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2022.04.1"
      }, {
        "fixed" : "2022.10.9"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "aimeos/ai-cms-grapesjs"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2023.04.1"
      }, {
        "fixed" : "2023.10.15"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "aimeos/ai-cms-grapesjs"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2024.04.1"
      }, {
        "fixed" : "2024.10.8"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "aimeos/ai-cms-grapesjs"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2025.04.1"
      }, {
        "fixed" : "2025.10.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/aimeos/ai-cms-grapesjs/security/advisories/GHSA-424m-fj2q-g7vg"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-66468"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/aimeos/ai-cms-grapesjs/commit/2214f71ac27cdea25f11c8adf6bb5816db47a042"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/aimeos/ai-cms-grapesjs"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-12-03T14:05:28Z",
    "nvd_published_at" : "2025-12-02T19:15:53Z"
  }
}