CVE-2025-54803

js-toml is vulnerable to Prototype Pollution

Published Aug 5, 2025 CVSS 4.0 · 7.9 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-23575 js-toml Prototype Pollution Vulnerability
Github GHSA Github GHSA GHSA-65fc-cr5f-v7r2 js-toml Prototype Pollution Vulnerability
History
Type Values Removed Values Added
CPEs cpe:2.3:a:sunnyadn:js-toml:*:*:*:*:*:node.js:*:*
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Sunnyadn
Sunnyadn js-toml
Vendors & Products Sunnyadn
Sunnyadn js-toml
Type Values Removed Values Added
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.
Title js-toml is vulnerable to Prototype Pollution
Weaknesses CWE-1321
References
Metrics cvssV4_0

{'score': 7.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 5, 2025, 2:31 PM
Reserved
Jul 29, 2025, 4:50 PM
Status
Analyzed
Published
Aug 5, 2025, 1:15 AM
Modified
Jun 17, 2026, 9:40 AM