CVE-2025-54803 json
js-toml is vulnerable to Prototype Pollution
published 2025-08-04 15 mo ago modified 2026-06-17 4 mo ago also GHSA-65fc-cr5f-v7r2 , EUVD-2025-23575
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 47%
- public exploits
- 0
- none known
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.
Patch / fix
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 15 mo ago
Exploit prediction
0.57% chance of exploitation in the next 30 days, higher than 47% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- gist.github.com https://gist.github.com/siunam321/f3dc4d21a5a932c67b6c11d0026f5afc referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 7.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 |
| CNA | 4.0 | 7.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 |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | js-toml | <1.0.2 |
1.0.2 |
Affected products
- sunnyadn js-toml
Classification
- Weakness
-
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes
References
-
github.com
/sunnyadn/js-toml/commit/b125910a3f094b744c9c3571360d4b9e3a472f66
web, patch
-
gist.github.com
/siunam321/f3dc4d21a5a932c67b6c11d0026f5afc
exploit, web
-
github.com
/sunnyadn/js-toml/security/advisories/GHSA-65fc-cr5f-v7r2
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2025-54803
advisory
-
github.com
/sunnyadn/js-toml
package
Sources
- CVE List CVE-2025-54803
- GitHub Advisory GHSA-65fc-cr5f-v7r2
- NVD CVE-2025-54803
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.