Live threats

All CVEs / Shopware

CVE-2021-41188Shopware

Medium 5.4

Priority
32
CVSS 3.1
5.4
EPSS
0.8%
probability of exploitation in 30 days · percentile 52
Auth required
Yes
Published
Oct 26, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

What happens

Shopware is open source e-commerce software. Versions prior to 5.7.6 contain a cross-site scripting vulnerability. This issue is patched in version 5.7.6. Two workarounds are available. Using the security plugin or adding a particular following config to the `.htaccess` file will protect against cross-site scripting in this case. There is also a config for those using nginx as a server. The plugin and the configs can be found on the GitHub Security Advisory page for this vulnerability.

Original NVD text.

What to do

  1. Apply the vendor's security update for Shopware.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist shopware/shopware < 5.7.6 5.7.6 composer require "shopware/shopware:^5.7.6"

Per OSV / GitHub Advisories (GHSA-4p3x-8qw9-24w9). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
shopwareshopware< 5.7.6

Official sources

References

Links published by the sources. Open them with care.