Authenticated Stored XSS in shopware/shopware
Impact
Authenticated Stored XSS in Administration
Patches
Use the Security Plugin: https://store.shopware.com/en/swag575294366635f/shopware-security-plugin.html
Workarounds
If you cannot use the security plugin, add the following config to your .htaccess file
<IfModule mod_headers.c>
<FilesMatch "\.(?i:svg)$">
Header set Content-Security-Policy "script-src 'none'"
</FilesMatch>
</IfModule>
If you are using nginx as server config, you can add the following to your configuration:
server {
# ...
location ~* ^.+\.svg$ {
add_header Content-Security-Policy "script-src 'none'";
}
}
References
https://docs.shopware.com/en/shopware-5-en/sicherheitsupdates/security-update-10-2021
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | shopware/shopware | < 5.7.6 | 5.7.6 |
References
- https://github.com/shopware/shopware/security/advisories/GHSA-4p3x-8qw9-24w9
- https://nvd.nist.gov/vuln/detail/CVE-2021-41188
- https://github.com/shopware/shopware/commit/37213e91d525c95df262712cba80d1497e395a58
- https://docs.shopware.com/en/shopware-5-en/sicherheitsupdates/security-update-10-2021
- https://github.com/shopware/shopware
- https://github.com/shopware/shopware/releases/tag/v5.7.6
- https://store.shopware.com/en/swag575294366635f/shopware-security-plugin.html
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N- Weakness (CWE)
CWE-79- Platform
- Composer
- Package
shopware/shopware- Disclosed
- 27.10.2021
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-4p3x-8qw9-24w9 - CC BY 4.0
Vulnerability history: shopware/shopware
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 34
- First → latest
- 11.2020 01.2026
- Without a fix
- 3
- Exploited in attacks
- 0
Severity breakdown
- Critical 4
- High 6
- Medium 20
- Low 4
Disclosures per year
- 2020: 3
- 2021: 6
- 2022: 15
- 2023: 3
- 2024: 4
- 2025: 2
- 2026: 1
-
Authenticated Stored XSS in shopware/shopware this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.