CVE-2025-54803
js-toml is vulnerable to Prototype Pollution
- Published
- Updated
- Reserved
- 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.
Public exploit
A reference of the record is tagged as an exploit or proof of concept: anyone can try it against an unpatched system. CISA's SSVC rates its exploitation: a proof of concept is public.
- https://gist.github.com/siunam321/f3dc4d21a5a932c67b6c11d0026f5afc (opens in a new tab)x_refsource_MISCexploit
Timeline
ID reserved
By GitHub_M
- 7 days later
· 7 days later
Published
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 4.0 | High7.9 | 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 |
| NVDNVD · Analyzed | 4.0 | High7.9 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
- EPSS (exploitation in 30 days)
- 0.57% · top 53% of all CVEs (7 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: yes · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.9.
Weakness
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npmjs-tomlGHSA-65fc-cr5f-v7r2 (opens in a new tab)
References (3)
- https://github.com/sunnyadn/js-toml/security/advisories/GHSA-65fc-cr5f-v7r2 (opens in a new tab)x_refsource_CONFIRM
- https://github.com/sunnyadn/js-toml/commit/b125910a3f094b744c9c3571360d4b9e3a472f66 (opens in a new tab)x_refsource_MISC
- https://gist.github.com/siunam321/f3dc4d21a5a932c67b6c11d0026f5afc (opens in a new tab)x_refsource_MISCexploit
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-65fc-cr5f-v7r2 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2025-54803)Record last updated .