{"id":"CVE-2025-54803","published":"2025-08-05T00:06:15Z","modified":"2025-08-05T14:31:35Z","title":"js-toml is vulnerable to Prototype Pollution","vendor":"sunnyadn","product":"js-toml","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.9,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01086,"percentile":0.64853,"provenance":"source"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"references":[{"url":"https://github.com/sunnyadn/js-toml/security/advisories/GHSA-65fc-cr5f-v7r2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/sunnyadn/js-toml/commit/b125910a3f094b744c9c3571360d4b9e3a472f66","tags":["x_refsource_MISC"]},{"url":"https://gist.github.com/siunam321/f3dc4d21a5a932c67b6c11d0026f5afc","tags":["x_refsource_MISC"]}],"priority":{"score":18.5,"factors":[{"name":"EPSS percentile","points":12.97},{"name":"CVSS severity","points":5.53}]},"vendorSlug":"sunnyadn","affectedVersions":[{"vendor":"sunnyadn","product":"js-toml","versions":["< 1.0.2"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-08-05T14:31:06.370088Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"js-toml","vulnerableRanges":["<1.0.2"],"patched":["1.0.2"],"from":["GHSA-65fc-cr5f-v7r2"],"provenance":"source"}],"summary":{"text":"The js-toml TOML parser for JavaScript, from sunnyadn, contains a prototype pollution flaw in its parsing logic that lets the global Object.prototype be modified. An attacker who can supply a maliciously crafted TOML input over the network can add or alter properties on Object.prototype without needing credentials, user interaction, or a particular configuration.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:35:13Z"},"euvd":{"id":"EUVD-2025-23575","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-sunnyadn-js-toml-cve-2025-54803","children":[{"from":"CVE-2025-54803","to":"CVE-2026-50029","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:js-toml","fromFixed":"1.0.2","toFixed":"1.1.2","daysApart":374},{"kind":"same-code","provenance":"machine","files":["src/load/interpreter.ts"],"commits":["https://github.com/sunnyadn/js-toml/commit/b125910a3f094b744c9c3571360d4b9e3a472f66","https://github.com/sunnyadn/js-toml/commit/e0504fa5d3dcde2d1d588c9001c24b7b700beeeb"],"basis":"shared function","functions":["Interpreter"]}]},{"from":"CVE-2025-54803","to":"CVE-2026-63386","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/load/interpreter.ts"],"commits":["https://github.com/sunnyadn/js-toml/commit/b125910a3f094b744c9c3571360d4b9e3a472f66","https://github.com/sunnyadn/js-toml/commit/4e10acf1f99ff3cb443c58b8f0a57664e41e87c6"],"basis":"shared function","functions":["Interpreter"]}]}],"packageHistory":[{"cve":"CVE-2025-54803","published":"2025-08-05","fixed":"1.0.2","kev":false},{"cve":"CVE-2026-49293","published":"2026-06-19","fixed":"1.1.2","kev":false,"link":{"from":"CVE-2025-54803","to":"CVE-2026-49293","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:js-toml","fromFixed":"1.0.2","toFixed":"1.1.2","daysApart":318}]}},{"cve":"CVE-2026-50029","published":"2026-08-14","fixed":"1.1.2","kev":false},{"cve":"CVE-2026-63386","published":"2026-09-22","fixed":"1.1.3","kev":false}],"package":"npm:js-toml"}}