Skip to main content

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

0
High
VulnerabilityCVE-2026-104937remotercexssphpjavascript
Published: 10/13/2026 (10/13/2026, 18:14:02 UTC)
Source: CERT/CC

Description

Shopware 6.7 contains a stored cross-site scripting (XSS) vulnerability in its media upload functionality that allows attackers with upload access to execute arbitrary JavaScript in an administrator's browser. This can lead to theft of administrator authentication tokens and unauthorized access to the Shopware Administration API. If the compromised administrator has extension management privileges, attackers can upload and activate malicious plugins to achieve remote code execution on the server. No vendor patch or statement is currently available. Mitigation involves restricting media upload access to trusted users or disabling HTML file uploads.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/13/2026, 18:20:05 UTC

Technical Analysis

CVE-2026-104937 is a stored XSS vulnerability in Shopware 6.7's media upload API, which accepts HTML files served as text/html without proper Content-Security-Policy or X-Content-Type-Options headers. An attacker with media upload capability can upload malicious HTML containing JavaScript. When an administrator accesses the malicious media URL, the script can exfiltrate the administrator's authentication token, enabling unauthorized API access. With extension management privileges, the attacker can install malicious plugins to execute arbitrary PHP code on the server with Shopware process privileges. CERT/CC was unable to coordinate disclosure with Shopware, and no patch is currently available.

Potential Impact

An attacker with media upload access can execute arbitrary JavaScript in an administrator's browser context, steal valid administrator authentication tokens, and gain privileged access to the Shopware Administration API. This can lead to unauthorized administrative actions. If the compromised administrator account has extension management privileges, the attacker can achieve remote code execution on the underlying operating system with Shopware process privileges by uploading and activating malicious plugins.

Mitigation Recommendations

No official patch or vendor advisory is currently available. Users should reduce risk by limiting media upload functionality to trusted roles only or disabling HTML file uploads entirely to prevent attackers from uploading malicious browser-executable content. Monitor for suspicious activity related to media uploads and administrator access until a patch is released.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Classification
{"confidence":0.92,"severitySource":"heuristic","classifier":"rss-v2"}
Article Source
{"url":"https://kb.cert.org/vuls/id/157374","fetched":true,"fetchedAt":"2026-10-13T18:19:59.090Z","wordCount":465}

Threat ID: 6ace764f2cdf04f656957e76

Added to database: 10/13/2026, 18:19:59 UTC

Last enriched: 10/13/2026, 18:20:05 UTC

Last updated: 10/14/2026, 00:19:15 UTC

Views: 12

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses