Skip to content
OpenAdvisories
High · 7.9 CVE-2025-54803 EUVD-2025-23575GHSA-65fc-cr5f-v7r2

js-toml is vulnerable to Prototype Pollution

Published Aug 5, 2025 · Updated Aug 5, 2025 · Assigned by GitHub_M

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

VendorProductAffectedFixed
sunnyadn js-toml < 1.0.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm js-toml < 1.0.2 1.0.2 GHSA-65fc-cr5f-v7r2

References