VU#157374: XSS vulnerability in Shopware 6 enables Admin Token Theft and RCE
CERT/CC warns a Shopware 6 stored XSS can steal admin tokens and enable code execution, with no patch.
Stored XSS in Shopware 6.7 can steal admin tokens and lead to RCE
Shopware 6.7 lets an attacker upload HTML that the store then serves as text/html without effective security headers, which is a stored cross-site scripting flaw. If an administrator opens that file, script in the upload can read and steal the administrator’s authentication token. With that token the attacker can call the Shopware Administration API without authorization, and if the account can manage extensions they can install and activate a malicious plugin to run arbitrary PHP as the Shopware process. Shopware 6.7 e-commerce installations are affected. There is no known public proof-of-concept and no listing in CISA’s Known Exploited Vulnerabilities catalog.
What to do: Treat Shopware 6.7 as vulnerable until the vendor publishes a fixed release, then upgrade to that release; the CVE data does not name a patched version. Until then, restrict media and file uploads to trusted staff, avoid opening untrusted uploaded HTML as an administrator, and review Administration API tokens, admin sessions, and recently uploaded, installed, or activated plugins for abuse.
| Product | Affected |
|---|---|
| Shopware | 6.7 |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
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.
CERT/CC warns a Shopware 6 stored XSS can steal admin tokens and enable code execution, with no patch.
Today 900 readers · 1.2K views · 928 reads · all time 159K views