js-toml is vulnerable to Prototype Pollution
Priority HIGH 74CWE-1321Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.0057 47th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed js-toml (sunnyadn): 1.0.2js-toml (npm): 1.0.2
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| sunnyadn | js-toml | before 1.0.2 | 1.0.2 | Patch available | CNA |
| — | js-toml (npm) | before 1.0.2 | 1.0.2 | Patch available | GHSA-65fc-cr5f-v7r2 |
- js-toml Vendorsunnyadn Affected before 1.0.2 Fixed in 1.0.2 Patch available CNA
- js-toml (npm) Vendor— Affected before 1.0.2 Fixed in 1.0.2 Patch available GHSA-65fc-cr5f-v7r2
Remediation
- Fix · CNA js-toml (sunnyadn) Fixed in 1.0.2
- Fix · GHSA-65fc-cr5f-v7r2 js-toml (npm) Fixed in 1.0.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-54803
- 2026-10-03 Alias added: GHSA-65fc-cr5f-v7r2
References
Advisory 2
More sunnyadn Js-toml vulnerabilities
- TI-2026-36479 CPU exhaustion via O(n^2) BigInt construction on radix-prefixed integer literals CVSS 3.1HIGH 7.5
Sources
- CVE-2025-54803 · CVE Program
- CVE-2025-54803 · NVD
- FIRST EPSS
- GHSA-65fc-cr5f-v7r2 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences