CVE-2022-37601: webpack loader-utils - Prototype Pollution
- Cve: CVE-2022-37601
- Name: webpack loader-utils - Prototype Pollution
- Description: Prototype pollution vulnerability in function parseQuery in parseQuery.js in webpack loader-utils via the name variable in parseQuery.js. This affects all versions prior to 1.4.1 and 2.0.3.
- Impact: Attackers can modify object prototypes, potentially leading to remote code execution, denial of service, or data tampering.
- Remediation: Update to version 1.4.1 or 2.0.3 or later.
- Vulnerability type: prototype_pollution
- Vulnerability impact: data_tampering, denial_of_service, remote_code_execution
- Requirement type: user_interaction
- Requirements: Attacker needs to provide malicious input to parseQuery
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.03503
- Epss percentile: 0.89466
- Assignee: [email protected]
- Published at: 2022-10-12T20:15:11Z
- Age in days: 1504
- Modified at: 2026-06-17T04:55:08Z
- Patch available: yes
- Public exploits total: 2
- References total: 9
- Products total: 2
- Oss: yes
- Projects total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-37601
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-1321 | Improperly Controlled Modification of Object Prototype Attributes |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/webpack/loader-utils/issues/212#issuecomment-1319192884 | nvd | 2022-10-12 |
| https://github.com/xmldom/xmldom/issues/436#issuecomment-1319412826 | nvd | 2022-10-12 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/webpack/loader-utils/issues/212#issuecomment-1319192884 | Exploit, Issue Tracking, Third Party Advisory |
| https://github.com/xmldom/xmldom/issues/436#issuecomment-1319412826 | Exploit, Issue Tracking, Third Party Advisory |
| https://github.com/webpack/loader-utils/issues/212 | Issue Tracking, Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2022/12/msg00044.html | Third Party Advisory |
| http://users.encs.concordia.ca/~mmannan/publications/JS-vulnerability-aisaccs2022.pdf | Technical Description |
| https://dl.acm.org/doi/abs/10.1145/3488932.3497769 | Technical Description |
| https://dl.acm.org/doi/pdf/10.1145/3488932.3497769 | Technical Description |
| https://github.com/webpack/loader-utils/blob/d9f4e23cf411d8556f8bac2d3bf05a6e0103b568/lib/parseQuery.js#L11 | Product |
| https://github.com/webpack/loader-utils/blob/d9f4e23cf411d8556f8bac2d3bf05a6e0103b568/lib/parseQuery.js#L47 | Product |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| webpack.js:loader-utils | >= 2.0.0, < 2.0.3; < 1.4.1 | no | nvd | /v1/products/webpack.js/loader-utils |
| debian:debian_linux | = 10.0 | no | nvd | /v1/products/debian/debian_linux |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| webpack/loader-utils | commit, issues, package, pull, releases | yes | /v1/repositories/webpack/loader-utils |
| xmldom/xmldom | issues | yes | /v1/repositories/xmldom/xmldom |
Index
- Repositories: 574
- Repositories high signal: 116
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2022-10-12
- Remote: yes
- Exposed hosts: 4739835
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports