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.
Published: 2026-07-17
Score: 4.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A flaw in Shopware’s media upload pipeline allows an attacker to upload an SVG file that is listed in the allowed_extensions whitelist and reaches the upload controller without any content sanitization. The SVG may contain malicious JavaScript in elements such as onload, <script>, or <foreignObject>. When the stored SVG is later viewed via the storefront, the embedded script executes with the privileges of the page, enabling session hijacking, credential theft, or other XSS attacks. The vulnerability is a Stored Input Validation flaw, CWE‑79, and is remedied in versions 6.6.10.18 and 6.7.10.1.

Affected Systems

The issue exists in Shopware Platform and Shopware products before version 6.6.10.18 and 6.7.10.1. Any installation with these earlier releases that allows SVG uploads is vulnerable. Versions 6.6.10.18, 6.7.10.1, or later no longer allow unsanitized SVG uploads.

Risk and Exploitability

The CVSS score of 4.9 indicates moderate severity and the EPSS score of < 1 % shows low probability of current exploitation. The vulnerability is not listed in the CISA KEV catalog. Likely attack conditions require an attacker with permission to upload media via the Shopware media manager; once an SVG is uploaded, mere viewing of the file triggers the XSS payload.

Generated by OpenCVE AI on July 30, 2026 at 23:56 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Shopware to version 6.6.10.18, 6.7.10.1 or later.
  • If an upgrade is not immediately possible, edit the configuration to remove "svg" from the allowed extensions whitelist and disable SVG uploads via the media manager.
  • Implement stricter content‑type validation for uploaded files, ensuring that any remaining SVG uploads are sanitized or blocked before rendering.

Generated by OpenCVE AI on July 30, 2026 at 23:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-xvhc-gm7j-mhmc Shopware: Stored XSS via SVG file upload — no SVG sanitization
History

Fri, 17 Jul 2026 20:00:00 +0000

Type Values Removed Values Added
First Time appeared Shopware
Shopware platform
Shopware shopware
Vendors & Products Shopware
Shopware platform
Shopware shopware

Fri, 17 Jul 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 17 Jul 2026 18:15:00 +0000

Type Values Removed Values Added
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.
Title Shopware: Stored XSS via SVG file upload — no SVG sanitization
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 4.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N'}


Subscriptions

Shopware Platform Shopware
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-17T18:11:57.809Z

Reserved: 2026-05-20T17:44:09.586Z

Link: CVE-2026-48015

cve-icon Vulnrichment

Updated: 2026-07-17T18:11:53.836Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T00:00:06Z

Weaknesses
  • CWE-79

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