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.0: 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/E:U/U:Green
CVE-ID: CVE-2022-31148
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Shopware
Affected software:
Shopware

Detailed vulnerability description

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.


How to mitigate CVE-2022-31148

Install security update from vendor's website.

Sources