What’s Vulnerable › Vulnerabilities
CVE-2025-54803: js-toml is vulnerable to Prototype Pollution
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2025-08-05 · updated 2026-06-17
- Weakness: CWE-1321
Description
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.
Affected products
- sunnyadn js-toml: before 1.0.2 — fixed in 1.0.2
How to fix
Upgrade to a fixed version: sunnyadn js-toml 1.0.2. Check the vendor advisory for mitigations.
References
- https://gist.github.com/siunam321/f3dc4d21a5a932c67b6c11d0026f5afc
- https://github.com/sunnyadn/js-toml/commit/b125910a3f094b744c9c3571360d4b9e3a472f66
- https://github.com/sunnyadn/js-toml/security/advisories/GHSA-65fc-cr5f-v7r2
- https://gist.github.com/siunam321/f3dc4d21a5a932c67b6c11d0026f5afc
Get alerted when CVE-2025-54803 or the next vulnerability affects your stack