Community Hub membersJoin more than 6500+ Members
All security advisories
ModerateCVSS 5.7– Published

Stored cross-site scripting through public media

CVE-2026-104937GHSA-phg9-8v2j-g4c4

Affected versions

PackageAffected versionsFixed in
shopware/platform< 6.6.10.326.6.10.32
shopware/platform>= 6.7.0.0, < 6.7.16.16.7.16.1
shopware/core< 6.6.10.326.6.10.32
shopware/core>= 6.7.0.0, < 6.7.16.16.7.16.1

Fixed by the Security Plugin

If you cannot update Shopware right away, the Shopware Security Plugin closes this issue from the listed version on.

Shopware versionSecurity Plugin version
6.5.x2.0.25 or newer
6.6.x3.0.21 or newer
6.7.x4.0.17 or newer

Description

Summary

Shopware does not sufficiently restrict active content in public media.
An authenticated user, integration or App with media upload permissions can store content that executes when another user opens it.
Exploitation requires the media to be served as executable content on the shop's origin without an effective restrictive serving policy.
Required permissions include media:create or media:update, depending on the upload functionality used.

Impact

An authenticated caller with the required media upload permission can cause JavaScript to execute in the shop's origin when a victim opens affected media.
This can enable unauthorized actions and disclosure of information accessible to the victim's browser.
The impact depends on the victim's session and the deployment's origin and credential configuration.

Affected versions
  • All Shopware versions before 6.6.10.32, including older affected release lines.
  • Shopware 6.7 versions before 6.7.16.1.
Patches

The issue is fixed in:

  • Shopware 6.6.10.32.
  • Shopware 6.7.16.1.
Workarounds

Until patched:

  • Disable public HTML uploads and review existing public media.
  • Serve untrusted active media from a separate origin or enforce a suitable sandbox policy.
  • Restrict media upload permissions to fully trusted callers.
Credits

@skeletonsec and @GuciF3rrr13