CVE-2026-48015: Shopware Core and Platform Stored XSS via SVG File Upload

shopware/core Updated 04 Jun 2026

Summary

04/06/2026
Yes i
Moderate
4.9

CVE-2026-48015: Shopware: Stored XSS via SVG file upload — no SVG sanitization. Affects shopware/core across 2 version ranges.

< 6.6.10.18 >= 6.7.0.0, < 6.7.10.1

Fixed in 6.6.10.18 or 6.7.10.1, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Shopware is an open-source e-commerce platform that enables businesses to create and manage online stores. It offers a range of features including product management, customer management, and various payment options. The platform is widely used for its flexibility and extensibility, allowing developers to create custom plugins and themes. However, it has a vulnerability that allows for stored cross-site scripting (XSS) attacks through SVG file uploads, which can compromise the security of the application.

Vulnerability Detail

The vulnerability arises from the fact that SVG files are included in the 'allowed_extensions' whitelist and can be uploaded by any admin user without any sanitization of the SVG content. This means that a malicious SVG file containing JavaScript can be executed in the context of the Shopware domain when accessed. The lack of sanitization allows for the execution of scripts, which can lead to severe consequences such as admin account takeover, customer data theft, or the installation of malicious plugins.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 6.6.10.18 6.6.10.18
    composer require shopware/core:6.6.10.18
  • >= 6.7.0.0, < 6.7.10.1 6.7.10.1
    composer require shopware/core:6.7.10.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

As a temporary workaround, you can remove SVG from the 'allowed_extensions' list in the configuration file located at 'src/Core/Framework/Resources/config/packages/shopware.yaml'. This can be done by modifying the line: allowed_extensions: ["jpg", "jpeg", "png", "webp", "avif", "gif", ...] to exclude 'svg'. Alternatively, serve SVGs with 'Content-Disposition: attachment' to prevent inline rendering.

Conclusion

The vulnerability CVE-2026-48015 in Shopware Core and Platform allows for stored XSS attacks through SVG file uploads due to a lack of content sanitization. It is crucial to update to the patched versions to mitigate the risks associated with this vulnerability. Implementing additional sanitization measures can further enhance security.

See every vulnerability recorded for shopware/core →

Share this vulnerability

FAQ

The impact includes potential admin account takeover, customer data theft, and the ability to install malicious plugins, affecting all users who view the uploaded SVG.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The CVSS score of this vulnerability is 4.9, indicating a moderate level of risk.

Yes, you can use libraries like 'enshrined/svg-sanitize' to sanitize SVG content on upload, which strips scripts and event handlers.

If you cannot update immediately, consider removing SVG from the allowed extensions or serving SVGs with 'Content-Disposition: attachment' as a temporary measure.

Related vulnerabilities

Recent vulnerabilities recorded for shopware/core.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 6.6.10.18 6.6.10.18
    composer require shopware/core:6.6.10.18
  • >= 6.7.0.0, < 6.7.10.1 6.7.10.1
    composer require shopware/core:6.7.10.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback