Description (CNA)
Shopware is an open commerce platform. Prior to 6.6.10.18 and 6.7.10.1, SVG files are in the allowed_extensions whitelist in src/Core/Framework/Resources/config/packages/shopware.yaml and can be uploaded via the media manager without SVG content sanitization in the upload pipeline from MediaUploadController to FileSaver to TypeDetector, allowing malicious SVG JavaScript such as onload, <script>, and <foreignObject> to execute in the Shopware domain when the uploaded SVG is viewed. This issue is fixed in versions 6.6.10.18 and 6.7.10.1.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| shopware / shopware | affected < 6.6.10.18; affected >= 6.7.0.0, < 6.7.10.1 |
| shopware / platform | affected < 6.6.10.18; affected >= 6.7.0.0, < 6.7.10.1 |
CWE
CWE-79
References
- https://github.com/shopware/shopware/security/advisories/GHSA-xvhc-gm7j-mhmc
- https://github.com/shopware/shopware/commit/745a3ea3b77d4fe0f78c595ef527d8453a134497
- https://github.com/shopware/shopware/commit/fd6d39bdb62dfa06fe62c7c87b37607d84094cda
- https://github.com/shopware/shopware/releases/tag/v6.6.10.18
- https://github.com/shopware/shopware/releases/tag/v6.7.10.1
ADP enrichment
No English description supplied.
No references supplied.