# CVE-2025-54803: js-toml is vulnerable to Prototype Pollution

- Severity: High 7.9 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.57%, higher than 48% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-08-04T16:07:05.000Z
- Modified: 2026-06-17T09:40:44.017Z
- Also known as: GHSA-65fc-cr5f-v7r2
- Weaknesses: CWE-1321
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- sunnyadn js-toml: < 1.0.2; before 1.0.2
- js-toml (npm): before 1.0.2

## Every score

- GitHub_M: CVSS:4.0 7.9 High `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`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://gist.github.com/siunam321/f3dc4d21a5a932c67b6c11d0026f5afc> (exploit, web)
- <https://github.com/sunnyadn/js-toml/security/advisories/GHSA-65fc-cr5f-v7r2> (vendor-advisory, web)
- <https://github.com/sunnyadn/js-toml/commit/b125910a3f094b744c9c3571360d4b9e3a472f66> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-54803> (advisory)
- <https://github.com/sunnyadn/js-toml> (package)

## Sources

- CVE List: [CVE-2025-54803](https://www.cve.org/CVERecord?id=CVE-2025-54803), CVE Terms of Use, modified 2025-08-05
- GitHub Advisory Database: [GHSA-65fc-cr5f-v7r2](https://github.com/advisories/GHSA-65fc-cr5f-v7r2), CC-BY-4.0, modified 2025-08-05
- NVD: [CVE-2025-54803](https://nvd.nist.gov/vuln/detail/CVE-2025-54803), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-54803 · Whole record: https://cve.day/CVE-2025-54803.json · Rebuilt by cve.day 2026-11-25T22:59:02.043Z
