Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. js-beautify
  4. ›
  5. CVE-2022-37609

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

October 11, 2022 (updated October 14, 2022)

Prototype pollution vulnerability in beautify-web js-beautify 1.13.7 via the name variable in options.js.

References

  • github.com/beautify-web/js-beautify/blob/6fa891e982cc3d615eed9a1a20a4fc50721bff16/js/src/core/options.js
  • github.com/beautify-web/js-beautify/blob/6fa891e982cc3d615eed9a1a20a4fc50721bff16/js/src/core/options.js
  • github.com/beautify-web/js-beautify/issues/2106
  • nvd.nist.gov/vuln/detail/CVE-2022-37609

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

Version 1.13.7

Fixed versions

  • 1.13.8

Solution

Upgrade to version 1.13.8 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/js-beautify/CVE-2022-37609.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:15:16 +0000.