Skip to content
OpenAdvisories
Medium · 4.9 CVE-2026-48015 EUVD-2026-45238GHSA-xvhc-gm7j-mhmc

Shopware: Stored XSS via SVG file upload — no SVG sanitization

Published Jul 17, 2026 · Updated Jul 17, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
shopware shopware < 6.6.10.18, >= 6.7.0.0, < 6.7.10.1 —
shopware platform < 6.6.10.18, >= 6.7.0.0, < 6.7.10.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist shopware/core >= 6.7.0.0, < 6.7.10.1 6.7.10.1 GHSA-xvhc-gm7j-mhmc
Packagist shopware/core < 6.6.10.18 6.6.10.18 GHSA-xvhc-gm7j-mhmc
Packagist shopware/platform >= 6.7.0.0, < 6.7.10.1 6.7.10.1 GHSA-xvhc-gm7j-mhmc
Packagist shopware/platform < 6.6.10.18 6.6.10.18 GHSA-xvhc-gm7j-mhmc

References