shopware/shopware
Affected
- introduced
0, fixed5.7.6(ecosystem)
Fixed versions
5.7.6
Fix
The export has no generic command for this ecosystem.
Advisory
Also known as: CVE-2021-41188
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
Medium Basis: The source's own band: MODERATE
0, fixed 5.7.6 (ecosystem)5.7.6
The export has no generic command for this ecosystem.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0