What’s Vulnerable › Vulnerabilities

CVE-2025-54803: js-toml is vulnerable to Prototype Pollution

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

How to fix

Upgrade to a fixed version: sunnyadn js-toml 1.0.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-54803 or the next vulnerability affects your stack