GitHub Advisoryadvisory · Packagist

GHSA-4p3x-8qw9-24w9 Authenticated Stored XSS in shopware/shopware

MEDIUM Published 2021-10-27 Modified 2021-10-26 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