Vulnerability · Published Jul 17, 2026 · Assigned by GitHub_M
CVE-2026-48015Shopware: Stored XSS via SVG file upload — no SVG sanitization
Medium 4.9
In plain English
A medium-severity cross-site scripting in platform from shopware. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 42% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | shopware/core | 6.7.10.1 | GHSA-xvhc-gm7j-mhmc |
| Packagist | shopware/core | 6.6.10.18 | GHSA-xvhc-gm7j-mhmc |
| Packagist | shopware/platform | 6.7.10.1 | GHSA-xvhc-gm7j-mhmc |
| Packagist | shopware/platform | 6.6.10.18 | GHSA-xvhc-gm7j-mhmc |
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
References
- https://github.com/shopware/shopware/security/advisories/GHSA-xvhc-gm7j-mhmc x_refsource_CONFIRM
- https://github.com/shopware/shopware/commit/745a3ea3b77d4fe0f78c595ef527d8453a134497 x_refsource_MISC
- https://github.com/shopware/shopware/commit/fd6d39bdb62dfa06fe62c7c87b37607d84094cda x_refsource_MISC
- https://github.com/shopware/shopware/releases/tag/v6.6.10.18 x_refsource_MISC
- https://github.com/shopware/shopware/releases/tag/v6.7.10.1 x_refsource_MISC