---
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: none
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
ingestedAt: '2026-10-13T19:43:28.910Z'
---

## 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.
