VU#157374: XSS vulnerability in Shopware 6 enables Admin Token Theft and RCE

Kurzinfo

Metadaten

  • Original (extern): Link oeffnen
  • Veroeffentlicht: 2026-10-13 18:14 UTC
  • Importiert: 2026-10-20 19:12 UTC
  • Quelle-ID: certcc_vuln
  • uid_hash: ae6bf343886ff271a15dc90c23325c965cf6b2ea9c090d9148e55541d405f847

Inhalt

Overview

Shopware 6.7 contains a stored cross-site scripting (XSS) vulnerability in its media upload functionality that can lead to administrator credential compromise and remote code execution.

Description

Shopware is an open-source e-commerce platform used to build and manage online stores. It provides merchants with customizable product pages, administrative interfaces, plugin functionality, and a media management system that allows users to upload and serve files.

CVE-2026-104937 In affected versions, Shopware’s media upload API accepts HTML files that are later served as text/html without effective Content-Security-Policy or X-Content-Type-Options security headers. An attacker with access to the media upload capability can therefore upload an HTML file with malicious embedded JavaScript, and if an administrator opens the corresponding media URL, the attacker can exfiltrate the administrator's authentication token and use it to gain unauthorized access to the Shopware Administration API.

Impact

Successful exploitation of this vulnerability could allow an attacker with media creation/upload access to execute arbitrary JavaScript in the administrator browser context, steal valid administrator authentication tokens, and gain privileged access to the Shopware Administration API. If the affected administrator account possesses extension management privileges, an attacker could upload, install, and activate malicious plugins to achieve arbitrary PHP code execution on the underlying OS with the privileges of the Shopware process.

Solution

Shopware has confirmed that remediations are currently in development. Until a patch is available, users should follow the workaround guidance provided by Shopware linked in the "References" section below.

Acknowledgements

Thanks to Deflask13 for researching and reporting this vulnerability. This document was written by Molly Jaconski.

Vendor Information

    One or more vendors are listed for this advisory. Please reference the full report for more information.

References

https://github.com/github/advisory-database/blob/25531bb249a44038ed082c2e3e48d185e922e621/advisories/unreviewed/2026/10/GHSA-pfh5-g6h6-v95h/GHSA-pfh5-g6h6-v95h.json

Other Information

CVE IDs:

CVE-2026-104937

Date Public:

2026-10-13

Date First Published: 2026-10-13

Date Last Updated: 2026-10-15 20:38 UTC

Document Revision: 3

About vulnerability notes

Contact us about this vulnerability

Provide a vendor statement

Verknuepfte CVEs

CVE-ID Severity (Quelle) CVSS (Quelle) Severity (CVE.org) CVSS (CVE.org) EPSS EPSS-Pctl Veroeffentlicht (CVE.org)

CVE-2026-104937

2026-10-13

Quellen-Details

Bezeichnung Name Kategorie Tags Zielgruppe Sprache Feed-URL
CERT/CC Vulnerability Notes

certcc_vuln

threat_intel - de https://www.kb.cert.org/vuls/atomfeed/