CVE-2026-104937 Details
Description
Shopware version 6.7 allows the upload of attacker‑controlled HTML files and serves them as text/html without effective security headers, enabling stored cross-site scripting (XSS). When a malicious uploaded file containing an embedded JavaScript payload is viewed by an administrator, the attacker can access and exfiltrate the administrator's authentication token. The compromised token enables unauthorized access to the Shopware Administration API. If the affected administrator account possesses extension‑management privileges, an attacker can upload, install, and activate malicious plugins to achieve arbitrary PHP code execution on the underlying OS with the privileges of the Shopware process.
A stored cross-site scripting vulnerability has been identified in Shopware version 6.7. The issue arises in the media upload functionality, where the application allows the upload of HTML files containing malicious JavaScript. These files are served as text/html without proper security headers, such as Content-Security-Policy or X-Content-Type-Options. When an administrator views the uploaded file, the embedded script is executed, allowing the attacker to steal the administrator's authentication token. This token can then be used to gain unauthorized access to the Shopware Administration API. If the compromised account has extension management privileges, the attacker could upload and activate malicious plugins, potentially leading to arbitrary PHP code execution on the server with the same privileges as the Shopware process.
Users can mitigate this vulnerability by restricting access to the media upload feature to trusted roles or by disabling HTML file uploads altogether, preventing the creation of malicious content that can be interpreted by browsers.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 13, 2026CISA-ADP
Assessed Oct 20, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://www.kb.cert.org/vuls/id/157374 | CVE | |
| https://kb.cert.org/vuls/id/157374 | [email protected] | AdvisoryRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| Shopware | 6.7 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 20, 2026 | CVE Modified | CISA-ADP |
| Oct 13, 2026 | CVE Modified | CVE |
| Oct 13, 2026 | New CVE Received | [email protected] |
Volerion