CVE-2025-54803
High
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.
SeverityHigh
CVSS7.5
Exploit probability—
ProductSunnyadn Js-toml
PublishedAug 5, 2025
First seenAug 5, 2025
Weakness typeCWE-1321Prototype pollution
How to fix
Update
- sunnyadn js-toml1.0.2 or later
- js-toml1.0.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| sunnyadn js-toml | v < 1.0.2 | 1.0.2 |
| js-tomlnpm | v < 1.0.2 | 1.0.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.