Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. loader-utils
  4. ›
  5. CVE-2022-37601

CVE-2022-37601: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

October 12, 2022 (updated February 28, 2023)

Prototype pollution vulnerability in function parseQuery in parseQuery.js in webpack loader-utils 2.0.0 via the name variable in parseQuery.js.

References

  • github.com/webpack/loader-utils/blob/d9f4e23cf411d8556f8bac2d3bf05a6e0103b568/lib/parseQuery.js
  • github.com/webpack/loader-utils/blob/d9f4e23cf411d8556f8bac2d3bf05a6e0103b568/lib/parseQuery.js
  • github.com/webpack/loader-utils/issues/212
  • github.com/webpack/loader-utils/issues/218
  • nvd.nist.gov/vuln/detail/CVE-2022-37601

Code Behaviors & Features

Detect and mitigate CVE-2022-37601 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.4.1, all versions starting from 2.0.0 before 2.0.3

Fixed versions

  • 1.4.1
  • 2.0.3

Solution

Upgrade to versions 1.4.1, 2.0.3 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Source file

npm/loader-utils/CVE-2022-37601.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:57 +0000.