GitHub Advisoryadvisory · Packagist
GHSA-4p3x-8qw9-24w9 Authenticated Stored XSS in shopware/shopware
MEDIUM
Official page ↗
- Aliases
- CVE-2021-41188
- Ecosystem
- Packagist
- Packages
- shopware/shopware
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2021-10-26
Affected packages
• Packagist shopware/shopware: < 5.7.6 → fixed in 5.7.6
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
```
Header set Content-Security-Policy "script-src 'none'"
```
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
Related
Alias · CVE (1)
- CVE-2021-41188 Shopware is open source e-commerce software. vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://github.com/shopware/shopware/security/advisories/GHSA-4p3x-8qw9-24w9 web
- https://nvd.nist.gov/vuln/detail/CVE-2021-41188 advisory
- https://github.com/shopware/shopware/commit/37213e91d525c95df262712cba80d1497e395a58 web
- https://docs.shopware.com/en/shopware-5-en/sicherheitsupdates/security-update-10-2021 web
- https://github.com/shopware/shopware package
- https://github.com/shopware/shopware/releases/tag/v5.7.6 web
- https://store.shopware.com/en/swag575294366635f/shopware-security-plugin.html web