GHSA-hrfh-fp4x-crrq: Shopware/shopware Cross-Site Scripting Vulnerability
LOWGHSA-hrfh-fp4x-crrq is a LOW cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Shopware/shopware libraries in the Packagist ecosystem. The issue involves persistent xss in newsletter module in shopware. Remediation is available by upgrading affected packages to version 5.6.9.
GHSA-hrfh-fp4x-crrq at a Glance
How to Fix GHSA-hrfh-fp4x-crrq
To remediate this vulnerability, upgrade all affected Shopware/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 5.6.9
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-hrfh-fp4x-crrq, inspect your project dependencies for Shopware/shopware:
inspect dependencies for shopware/shopware
Analyze the terminal output to locate any version of Shopware/shopware in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.6.9), 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/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-hrfh-fp4x-crrq Affected Shopware/shopware Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
shopware/shopware
|
Packagist |
< 5.6.9
|
5.6.9
|
References
Frequently Asked Questions
What is GHSA-hrfh-fp4x-crrq?
Which Shopware/shopware versions are affected?
What version fixes GHSA-hrfh-fp4x-crrq?
Is shopware/shopware affected?
What CWE is associated with GHSA-hrfh-fp4x-crrq?
How can I check Packagist dependencies for GHSA-hrfh-fp4x-crrq?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-hrfh-fp4x-crrq",
"modified" : "2020-11-13T18:00:57Z",
"published" : "2020-11-13T18:26:06Z",
"aliases" : [ ],
"summary" : "Persistent XSS in newsletter module in Shopware",
"details" : "### Impact\nPersistent XSS in newsletter module\n\n### Patches\n\nWe recommend updating to the current version 5.6.9. You can get the update to 5.6.9 regularly via the Auto-Updater or directly via the download overview.\n\nFor older versions you can use the Security Plugin:\nhttps://store.shopware.com/en/swag575294366635f/shopware-security-plugin.html\n\n### References\nhttps://docs.shopware.com/en/shopware-5-en/security-updates/security-update-11-2020",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "shopware/shopware"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.6.9"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/shopware/shopware/security/advisories/GHSA-hrfh-fp4x-crrq"
}, {
"type" : "WEB",
"url" : "https://docs.shopware.com/en/shopware-5-en/security-updates/security-update-11-2020"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2020-11-13T18:00:57Z",
"nvd_published_at" : null
}
}