{"id":"CVE-2021-41188","aliases":["CVE-2021-41188","GHSA-4p3x-8qw9-24w9"],"related":[],"kind":"vulnerability","state":"published","title":"Authenticated Stored XSS in Administration","summary":"Shopware is open source e-commerce software. Versions prior to 5.7.6 contain a cross-site scripting vulnerability. This issue is patched in version 5.7.6. Two workarounds are available. Using the security plugin or adding a particular following config to the `.htaccess` file will protect against cross-site scripting in this case. There is also a config for those using nginx as a server. The plugin and the configs can be found on the GitHub Security Advisory page for this vulnerability.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Shopware is open source e-commerce software. Versions prior to 5.7.6 contain a cross-site scripting vulnerability. This issue is patched in version 5.7.6. Two workarounds are available. Using the security plugin or adding a particular following config to the `.htaccess` file will protect against cross-site scripting in this case. There is also a config for those using nginx as a server. The plugin and the configs can be found on the GitHub Security Advisory page for this vulnerability.","source":"cvelist"},{"lang":"en","text":"### Impact\nAuthenticated Stored XSS in Administration\n\n### Patches\nUse the Security Plugin:\nhttps://store.shopware.com/en/swag575294366635f/shopware-security-plugin.html\n\n### Workarounds\nIf you cannot use the security plugin, add the following config to your `.htaccess` file\n\n```\n<IfModule mod_headers.c>\n    <FilesMatch \"\\.(?i:svg)$\">\n        Header set Content-Security-Policy \"script-src 'none'\"\n    </FilesMatch>\n</IfModule>\n```\n\nIf you are using nginx as server config, you can add the following to your configuration:\n```\nserver {\n    # ...\n\n    location ~* ^.+\\.svg$ {\n        add_header Content-Security-Policy \"script-src 'none'\";\n    }\n}\n```\n\n### References\nhttps://docs.shopware.com/en/shopware-5-en/sicherheitsupdates/security-update-10-2021","format":"markdown","source":"ghsa"},{"lang":"es","text":"Shopware es un software de comercio electrónico de código abierto. Las versiones anteriores a la 5.7.6, contienen una vulnerabilidad de tipo cross-site scripting. Este problema está parcheado en la versión 5.7.6. Se presentan dos soluciones disponibles. El uso del plugin de seguridad o la adición de la siguiente configuración particular al archivo \".htaccess\" protegerá contra el ataque de tipo cross-site scripting en este caso. También se presenta una configuración para aquellos que usan nginx como servidor. El plugin y las configuraciones pueden encontrarse en la página de GitHub Security Advisory para esta vulnerabilidad","source":"nvd"}],"published":"2021-10-26T15:00:16.000Z","modified":"2026-06-17T04:08:03.377Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N","score":5.7,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N","score":5.7,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N","score":5.7,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","score":3.5,"rating":"LOW"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 5.7.6","status":"affected"}],"vendor":"shopware","product":"shopware","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.7.6"}],"ecosystem":"Packagist","package":"shopware/shopware","purl":"pkg:composer/shopware/shopware","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"5.7.6"}],"vendor":"shopware","product":"shopware","cpe":"cpe:2.3:a:shopware:shopware:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/shopware/shopware/security/advisories/GHSA-4p3x-8qw9-24w9","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/shopware/shopware/commit/37213e91d525c95df262712cba80d1497e395a58","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://docs.shopware.com/en/shopware-5-en/sicherheitsupdates/security-update-10-2021","tags":["release-notes","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/shopware/shopware/releases/tag/v5.7.6","tags":["release-notes","technical-description","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://store.shopware.com/en/swag575294366635f/shopware-security-plugin.html","tags":["product","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41188","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/shopware/shopware","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-41188","url":"https://www.cve.org/CVERecord?id=CVE-2021-41188","licence":"CVE Terms of Use","modified":"2024-08-04T03:08:31.242Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4p3x-8qw9-24w9","url":"https://github.com/advisories/GHSA-4p3x-8qw9-24w9","licence":"CC-BY-4.0","modified":"2026-05-04T08:46:12.805Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-41188","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41188","licence":"Public domain","modified":"2026-06-17T04:08:03.377Z"}],"updatedAt":"2026-11-25T22:58:05.211Z","epss":{"score":0.00761,"percentile":0.56536,"date":"2026-12-01T12:00:22.000Z"}}