CVE-2025-54803Published Aug 5, 2025 · Aug 5Updated Oct 28
js-toml is vulnerable to Prototype Pollution
sunnyadn js-toml
High7.9Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| js-toml npm |
|
|
Original 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.
From the CVE record · GitHub_M