Cross-site scripting in Shopware - CVE-2022-31148

 

Cross-site scripting in Shopware - CVE-2022-31148

Published: July 25, 2022 / Updated: May 19, 2026


Vulnerability identifier: #VU131875
CSH Severity: Medium
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
CVE-ID: CVE-2022-31148
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary script code in a victim's browser.

The vulnerability exists due to cross-site scripting in the customer module when processing stored customer-supplied input. A remote attacker can submit specially crafted input to execute arbitrary script code in a victim's browser.


Affected software

Shopware

How to mitigate CVE-2022-31148

Install security update from vendor's website.

Shopware - update to 5.7.14

External References

Related Security Bulletins