High severity7.5NVD Advisory· Published Aug 5, 2025· Updated Jun 17, 2026
CVE-2025-54803
CVE-2025-54803
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
js-tomlnpm | < 1.0.2 | 1.0.2 |
Affected products
2Patches
Vulnerability mechanics
References
5- github.com/sunnyadn/js-toml/commit/b125910a3f094b744c9c3571360d4b9e3a472f66nvdPatchWEB
- gist.github.com/siunam321/f3dc4d21a5a932c67b6c11d0026f5afcnvdExploitWEB
- github.com/advisories/GHSA-65fc-cr5f-v7r2ghsaADVISORY
- github.com/sunnyadn/js-toml/security/advisories/GHSA-65fc-cr5f-v7r2nvdVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2025-54803ghsaADVISORY
News mentions
0No linked articles in our index yet.