Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. js-toml
  4. ›
  5. GHSA-65fc-cr5f-v7r2

GHSA-65fc-cr5f-v7r2: js-toml Prototype Pollution Vulnerability

August 4, 2025

A prototype pollution vulnerability in js-toml allows a remote attacker to add or modify properties of the global Object.prototype by parsing a maliciously crafted TOML input.

References

  • gist.github.com/siunam321/f3dc4d21a5a932c67b6c11d0026f5afc
  • github.com/advisories/GHSA-65fc-cr5f-v7r2
  • github.com/sunnyadn/js-toml
  • github.com/sunnyadn/js-toml/commit/b125910a3f094b744c9c3571360d4b9e3a472f66
  • github.com/sunnyadn/js-toml/security/advisories/GHSA-65fc-cr5f-v7r2

Code Behaviors & Features

Detect and mitigate GHSA-65fc-cr5f-v7r2 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

All versions before 1.0.2

Fixed versions

  • 1.0.2

Solution

Upgrade to version 1.0.2 or above.

Weakness

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

Source file

npm/js-toml/GHSA-65fc-cr5f-v7r2.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 19 Aug 2025 12:19:33 +0000.