CVE-2022-37601
CRITICAL 9.8CVSS 3.1Prototype pollution in webpack loader-utils
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.
- Published
- 12 Oct 2022
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-1321
- Also known as
- GHSA-76p3-8jx3-jpfq
- Sources
- NVDJSONOSV GHSA-76p3-8jx3-jpfqJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | webpack.js | loader-utilscpe:2.3:a:webpack.js:loader-utils:*:*:*:*:*:*:*:* |
< 1.4.1 | 1.4.1 |
| NVD | webpack.js | loader-utilscpe:2.3:a:webpack.js:loader-utils:*:*:*:*:*:*:*:* |
>= 2.0.0, < 2.0.3 | 2.0.3 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| OSV | npm | loader-utils | >= 2.0.0, < 2.0.3 | 2.0.3 |
| OSV | npm | loader-utils | < 1.4.1 | 1.4.1 |
References
- http://users.encs.concordia.ca/~mmannan/publications/JS-vulnerability-aisaccs2022.pdf · Technical Description, WEB
- https://dl.acm.org/doi/abs/10.1145/3488932.3497769 · Technical Description, WEB
- https://dl.acm.org/doi/pdf/10.1145/3488932.3497769 · Technical Description, WEB
- 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
- https://github.com/webpack/loader-utils/issues/212 · Issue Tracking, Third Party Advisory, WEB
- https://github.com/webpack/loader-utils/issues/212#issuecomment-1319192884 · Exploit, Issue Tracking, Third Party Advisory, WEB
- https://github.com/xmldom/xmldom/issues/436#issuecomment-1319412826 · Exploit, Issue Tracking, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2022/12/msg00044.html · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-37601 · ADVISORY
- https://github.com/webpack/loader-utils/pull/217 · WEB
- https://github.com/webpack/loader-utils/pull/220 · WEB
- https://github.com/webpack/loader-utils/commit/4504e34c4796a5836ef70458327351675aed48a5 · WEB
- https://github.com/webpack/loader-utils/commit/a93cf6f4702012030f6b5ee8340d5c95ec1c7d4c · WEB
- https://github.com/webpack/loader-utils/commit/f4e48a232fae900237c3e5ff7b57ce9e1c734de1 · WEB
- https://github.com/webpack/loader-utils · PACKAGE
- https://github.com/webpack/loader-utils/releases/tag/v1.4.1 · WEB
- https://github.com/webpack/loader-utils/releases/tag/v2.0.3 · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 12 Oct 2022)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 13 Oct 2022)