CVE-2021-41188
MEDIUM5.7EPSS 0.51%Authenticated Stored XSS in shopware/shopware
Description
### 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 packages (1)
- Packagist/shopware/shopwarefrom 0, < 5.7.6
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N |
References (7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-41188
- PATCHhttps://github.com/shopware/shopware
- WEBhttps://docs.shopware.com/en/shopware-5-en/sicherheitsupdates/security-update-10-2021
- WEBhttps://github.com/shopware/shopware/commit/37213e91d525c95df262712cba80d1497e395a58
- WEBhttps://github.com/shopware/shopware/releases/tag/v5.7.6
- WEBhttps://github.com/shopware/shopware/security/advisories/GHSA-4p3x-8qw9-24w9
- WEBhttps://store.shopware.com/en/swag575294366635f/shopware-security-plugin.html