CVE-2026-48015

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

State
Published
Severity
4.9 Medium
Published
Jul 17, 2026
Updated
Jul 17, 2026
Reserved
May 20, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.14.9 MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:NGitHub_M

Weaknesses

  • CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Affected Products

ProductVersions
shopwareshopware
  • < 6.6.10.18Affected
  • >= 6.7.0.0, < 6.7.10.1Affected
platformshopware
  • < 6.6.10.18Affected
  • >= 6.7.0.0, < 6.7.10.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.