CVE-2026-104937

CVE-2026-104937

Published Oct 13, 2026 CVSS 3.1 · 8.1 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Shopware 6.7 contains a stored cross‑site scripting flaw that lets an attacker upload a crafted HTML file. The server serves the file with a text/html MIME type and does not apply content‑security or other headers. When an administrator opens the file, the embedded JavaScript runs in the admin’s browser context. The script can exfiltrate the administrator’s authentication token, allowing the attacker to call the Shopware Administration API. If the compromised administrator has extension‑management privileges, the attacker can upload, install, and activate a malicious plugin, resulting in arbitrary PHP code execution on the host operating system under the privileges of the Shopware process.

Affected Systems

All installations of Shopware 6.7 that permit the upload of attacker‑controlled HTML files through the media upload interface and serve the files with a text/html MIME type without security headers remain affected. The upload channel is inferred from the description of the media upload interface in the administration panel, as it is not explicitly documented in the advisory.

Risk and Exploitability

The CVSS score of 8.1 indicates a high severity stored XSS vulnerability. The EPSS score of <1 % suggests a low but non‑zero likelihood of exploitation, and the vulnerability is not listed in the CISA KEV catalog. An attacker can exploit the flaw by uploading a malicious HTML file, then requires an administrator to view that file in a browser for the JavaScript to run and exfiltrate the authentication token. With the stolen token the attacker can communicate with the Administration API; if they control an account with extension‑management privileges, they can deploy a malicious plugin that results in arbitrary PHP execution on the underlying system. The likely attack vector is a web‑based stored XSS triggered via the media upload interface in the shop administration area, which is inferred from the advisory text.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Restrict or sanitize file uploads in the administration area to allow only safe file types and erase or escape any HTML content before storage.
  • Configure and enforce strict security headers such as Content‑Security‑Policy, X‑Content-Type‑Options, and X‑Frame‑Options on all files served by the media system to mitigate stored XSS.
  • Restrict extension‑management privileges to a minimal set of trusted administrators; review and remove extension‑management rights from accounts that do not require them to limit the impact of a stolen token.
  • Stay informed of vendor updates and deploy any official patch as soon as it becomes available.

Generated by OpenCVE AI on October 23, 2026 at 07:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-284
CWE-94
Type Values Removed Values Added
Metrics cvssV3_1

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

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-284
CWE-79
CWE-94
Type Values Removed Values Added
First Time appeared Shopware
Shopware shopware
Vendors & Products Shopware
Shopware shopware
Type Values Removed Values Added
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.
Title CVE-2026-104937
References
Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
certcc
Published
Updated
Oct 20, 2026, 4:58 PM
Reserved
Oct 2, 2026, 5:10 PM
Status
Deferred
Published
Oct 13, 2026, 7:17 PM
Modified
Oct 20, 2026, 5:17 PM