Skip to content

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

HighCVSS 7.9 EPSS 0.57%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
npm js-toml(npm) < 1.0.2 1.0.2 Fixed
sunnyadn js-toml < 1.0.2; = < 1.0.2 1.0.2 Fixed

Affected products

ProductAffected versionsFixed in
npm js-toml(npm) < 1.0.2 1.0.2
sunnyadn js-toml = < 1.0.2 No fix listed
sunnyadn js-toml < 1.0.2 1.0.2

References