Skip to main content
← All vulnerabilities
CVE-2025-54803GHSA-65FC-CR5F-V7R2

js-toml is vulnerable to Prototype Pollution

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.0.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

js-toml is a TOML parser for JavaScript, fully compliant with the TOML 1.0.0 Spec. In versions below 1.0.2, 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. This is fixed in version 1.0.2.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • sunnyadn js-toml

    fixed in 1.0.2

  • js-tomlnpm

    fixed in 1.0.2

References 3

GitHub · sunnyadn/js-toml

gist.github.com