{"id":"CVE-2025-54803","summary":"js-toml is vulnerable to Prototype Pollution","details":"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.","aliases":["GHSA-65fc-cr5f-v7r2"],"modified":"2026-08-12T03:51:47.811574254Z","published":"2025-08-05T00:06:15.916Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54803.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-1321"]},"references":[{"type":"WEB","url":"https://gist.github.com/siunam321/f3dc4d21a5a932c67b6c11d0026f5afc"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54803.json"},{"type":"ADVISORY","url":"https://github.com/sunnyadn/js-toml/security/advisories/GHSA-65fc-cr5f-v7r2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-54803"},{"type":"FIX","url":"https://github.com/sunnyadn/js-toml/commit/b125910a3f094b744c9c3571360d4b9e3a472f66"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/sunnyadn/js-toml","events":[{"introduced":"0"},{"fixed":"0052f1158c0e6b5dd935e280aff98937a0a5c3e8"},{"fixed":"b125910a3f094b744c9c3571360d4b9e3a472f66"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"1.0.2"}],"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:sunnyadn:js-toml:*:*:*:*:*:node.js:*:*"}}],"versions":["v1.0.1","v1.0.0","v0.1.1","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-54803.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}