CVE-2021-41188
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network with a low-privilege account, but needs a user to act. High risk of data tampering.
- Exploit odds
- 0.8% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.8% in the next 30 days (EPSS).
- Severity: 5.7 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.8% · EPSS, next 30 days
- Weakness
- CWE-79 · Cross-site scripting
- Record status
- Modified
Affected
- Shopware < 5.7.6
Attack profile CVSS 3.1 · 5.7
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Raw vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2021-41188.md and follow it. Check whether this project is affected by CVE-2021-41188. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://docs.shopware.com/en/shopware-5-en/sicherheitsupdates/security-update-10-2021
- https://github.com/shopware/shopware/commit/37213e91d525c95df262712cba80d1497e395a58
- https://github.com/shopware/shopware/releases/tag/v5.7.6
- https://github.com/shopware/shopware/security/advisories/GHSA-4p3x-8qw9-24w9
- https://docs.shopware.com/en/shopware-5-en/sicherheitsupdates/security-update-10-2021
- https://github.com/shopware/shopware/commit/37213e91d525c95df262712cba80d1497e395a58
- https://github.com/shopware/shopware/releases/tag/v5.7.6
- https://github.com/shopware/shopware/security/advisories/GHSA-4p3x-8qw9-24w9
References
- https://docs.shopware.com/en/shopware-5-en/sicherheitsupdates/security-update-10-2021
- https://github.com/shopware/shopware/commit/37213e91d525c95df262712cba80d1497e395a58
- https://github.com/shopware/shopware/releases/tag/v5.7.6
- https://github.com/shopware/shopware/security/advisories/GHSA-4p3x-8qw9-24w9
- https://store.shopware.com/en/swag575294366635f/shopware-security-plugin.html
- https://docs.shopware.com/en/shopware-5-en/sicherheitsupdates/security-update-10-2021
- https://github.com/shopware/shopware/commit/37213e91d525c95df262712cba80d1497e395a58
- https://github.com/shopware/shopware/releases/tag/v5.7.6
- https://github.com/shopware/shopware/security/advisories/GHSA-4p3x-8qw9-24w9
- https://store.shopware.com/en/swag575294366635f/shopware-security-plugin.html