Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. js-toml
  4. ›
  5. CVE-2025-54803

CVE-2025-54803: js-toml Prototype Pollution Vulnerability

August 4, 2025 (updated November 10, 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
  • nvd.nist.gov/vuln/detail/CVE-2025-54803

Code Behaviors & Features

Detect and mitigate CVE-2025-54803 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.0.2

Fixed versions

  • 1.0.2

Solution

Upgrade to version 1.0.2 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

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

Source file

npm/js-toml/CVE-2025-54803.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:17:10 +0000.