Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Sunnyadn | Js-Toml | < 1.0.2 |
Related Weaknesses (CWE)
References
- https://gist.github.com/siunam321/f3dc4d21a5a932c67b6c11d0026f5afcExploit
- https://github.com/sunnyadn/js-toml/commit/b125910a3f094b744c9c3571360d4b9e3a472Patch
- https://github.com/sunnyadn/js-toml/security/advisories/GHSA-65fc-cr5f-v7r2Vendor Advisory
- https://gist.github.com/siunam321/f3dc4d21a5a932c67b6c11d0026f5afcExploit
FAQ
What is CVE-2025-54803?
CVE-2025-54803 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 pro...
How severe is CVE-2025-54803?
CVE-2025-54803 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-54803?
Check the references section above for vendor advisories and patch information. Affected products include: Sunnyadn Js-Toml.