---
id: CVE-2026-104937
title: >-
  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)
summary: >-
  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 J…
severity: high
published: '2026-10-13'
updated: '2026-10-13'
sourceUpdated: '2026-10-13T21:17:25.917'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-104937'
references:
  - url: 'https://kb.cert.org/vuls/id/157374'
    label: cret@cert.org
  - url: 'https://www.kb.cert.org/vuls/id/157374'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
  - cve.org
ingestedAt: '2026-10-13T19:43:28.910Z'
vendor: Shopware
product: Shopware
affected:
  - Shopware 6.7
cwe:
  - CWE-79
epss: 0.00593
epssPercentile: 0.4849
cvss: 8.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N'
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: total
  timestamp: '2026-10-20T16:58:25.868316Z'
cvssSource: adp
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
