Prototype pollution in loader-utils - CVE-2022-37601
Published: December 12, 2022
Vulnerability identifier: #VU70123
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2022-37601
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vendor: webpack
Affected software:
loader-utils
loader-utils
Detailed vulnerability description
The disclosed vulnerability allows a remote attacker to perform prototype pollution attacks.
The vulnerability exists due to insufficient sanitization of user-supplied data within the parseQuery() function in parseQuery.js. A remote attacker can inject and execute arbitrary JavaScript code.
How to mitigate CVE-2022-37601
Install update from vendor's website.