GHSA-9v82-vcjx-m76j: Shopware Cross-Site Scripting Vulnerability
HIGHGHSA-9v82-vcjx-m76j is a HIGH (CVSS 8.8) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Shopware libraries in the Packagist ecosystem. The issue involves reflective cross site-scripting (xss) in cms components. Remediation is available by upgrading affected packages to version 6.7.2.1.
GHSA-9v82-vcjx-m76j at a Glance
Security Impact
CVSS: 8.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L).
How to Fix GHSA-9v82-vcjx-m76j
To remediate this vulnerability, upgrade all affected Shopware 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 shopware/shopware to 6.7.2.1
Upgrade shopware/core to 6.7.2.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for shopware/shopware
How to Check if You Are Affected
To determine whether your application is affected by GHSA-9v82-vcjx-m76j, inspect your project dependencies for Shopware:
inspect dependencies for shopware/shopware
Analyze the terminal output to locate any version of Shopware in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.7.2.1), 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 Shopware, 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
GHSA-9v82-vcjx-m76j Affected Shopware Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
shopware/shopware
|
Packagist |
≥ 6.7.0.0
< 6.7.2.1
|
6.7.2.1
|
|
shopware/core
|
Packagist |
≥ 6.7.0.0
< 6.7.2.1
|
6.7.2.1
|
References
Frequently Asked Questions
What is GHSA-9v82-vcjx-m76j?
Which Shopware versions are affected?
What version fixes GHSA-9v82-vcjx-m76j?
Is shopware/shopware affected?
Is shopware/core affected?
What is the CVSS score of GHSA-9v82-vcjx-m76j?
What CWE is associated with GHSA-9v82-vcjx-m76j?
How can I check Packagist dependencies for GHSA-9v82-vcjx-m76j?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9v82-vcjx-m76j",
"modified" : "2025-09-10T20:46:20Z",
"published" : "2025-09-10T20:46:20Z",
"aliases" : [ ],
"summary" : "Shopware: Reflective Cross Site-Scripting (XSS) in CMS components",
"details" : "### Impact\nBy exploiting XSS vulnerabilities, malicious actors can perform harmful actions in the user's web browser in the session context of the affected user. \n\nSome examples of this include, but are not limited to:\n- Obtaining user session tokens.\n- Performing administrative actions (when an administrative user is affected).\n\nThese vulnerabilities pose a high security risk. Since a sensitive cookie is not configured with the HttpOnly attribute and administrator JWTs are stored in sessionStorage, any successful XSS attack could enable the theft of session cookies and administrative tokens.\n\n#### Description\nWhen an application uses input fields, it is important that user input is adequately filtered for malicious HTML and JavaScript characters. When adequate input validation is not applied, Cross-Site Scripting (XSS) vulnerabilities may arise. These allow malicious actors to inject malicious code into application pages. When a user visits the page, the code is executed in the user's web browser. This allows malicious actors to perform malicious actions in the name of that user. XSS can be divided into three variants: Persistent XSS, Reflective XSS and DOM-based XSS. In Reflective XSS, a malicious actor injects malicious JavaScript code into a URL. Every time the user visits this URL, the JavaScript code is executed in the user’s browser.\n\n#### Applicability \nDue to a lack of input validation, the Shopware application contain XSS vulnerabilities. The JavaScript variable 'activeRouteParameters' lacks input validation, which makes it vulnerable to XSS attacks at the following endpoints:\n\n- /page/cms/*\n- /widget/cms/*\n\nThe lack of input validation enables malicious actors to inject harmful JavaScript-code into the affected pages. When a user visits the page, the code is executed within the user’s web browser. This enables malicious actors to perform (harmful) actions on behalf of the affected user. No user account is required to exploit this vulnerability.\n\n#### Reproduction\nTo reproduce this vulnerability, the steps below can be followed.\n1. Navigate to the URL below containing the XSS payload:\nhttps://pentest-saas-2025-2.shopware.store/page/cms/'+alert('REQON')+'\n2. Observe that a pop-up is shown indicating that the JavaScript code has been executed.\n\n#### Workarounds\nFor older versions of 6.7, corresponding security measures are also available via a plugin. For the full range of functions, we recommend updating to the latest Shopware version.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "shopware/shopware"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.7.0.0"
}, {
"fixed" : "6.7.2.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "shopware/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.7.0.0"
}, {
"fixed" : "6.7.2.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/shopware/shopware/security/advisories/GHSA-9v82-vcjx-m76j"
}, {
"type" : "WEB",
"url" : "https://github.com/shopware/shopware/commit/12fb537c5ebe009f2a0f58b9c24dbd2d6b4c508f"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/shopware/shopware"
}, {
"type" : "WEB",
"url" : "https://github.com/shopware/shopware/releases/tag/v6.7.2.1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-09-10T20:46:20Z",
"nvd_published_at" : null
}
}