Overview
Shopware 6.7 contains a stored cross-site scripting (XSS) vulnerability in its media upload functionality that can lead to administrator credential compromise and remote code execution.
Description
Shopware is an open-source e-commerce platform used to build and manage online stores. It provides merchants with customizable product pages, administrative interfaces, plugin functionality, and a media management system that allows users to upload and serve files.
CVE-2026-104937 In affected versions, Shopware’s media upload API accepts HTML files that are later served as text/html without effective Content-Security-Policy or X-Content-Type-Options security headers. An attacker with access to the media upload capability can therefore upload an HTML file with malicious embedded JavaScript, and if an administrator opens the corresponding media URL, the attacker can exfiltrate the administrator's authentication token and use it to gain unauthorized access to the Shopware Administration API.
Impact
Successful exploitation of this vulnerability could allow an attacker with media creation/upload access to execute arbitrary JavaScript in the administrator browser context, steal valid administrator authentication tokens, and gain privileged access to the Shopware Administration API. If the affected administrator account possesses extension management privileges, an attacker could upload, install, and activate malicious plugins to achieve arbitrary PHP code execution on the underlying OS with the privileges of the Shopware process.
Solution
Shopware has confirmed that remediations are currently in development. Until a patch is available, users should follow the workaround guidance provided by Shopware linked in the "References" section below.
Acknowledgements
Thanks to Deflask13 for researching and reporting this vulnerability. This document was written by Molly Jaconski.
Vendor Information
Other Information
| CVE IDs: | CVE-2026-104937 |
| API URL: | VINCE JSON | CSAF |
| Date Public: | 2026-10-13 |
| Date First Published: | 2026-10-13 |
| Date Last Updated: | 2026-10-15 20:38 UTC |
| Document Revision: | 3 |