{"id":"CVE-2025-54803","state":"PUBLISHED","title":"js-toml is vulnerable to Prototype Pollution","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.","publishedAt":"2025-08-05T00:06:15.916Z","updatedAt":"2025-08-05T14:31:35.284Z","severity":{"score":7.9,"label":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["sunnyadn js-toml"],"affected":[{"vendor":"sunnyadn","product":"js-toml","versions":[{"version":"< 1.0.2","status":"affected"}]}],"references":["https://github.com/sunnyadn/js-toml/security/advisories/GHSA-65fc-cr5f-v7r2","https://github.com/sunnyadn/js-toml/commit/b125910a3f094b744c9c3571360d4b9e3a472f66","https://gist.github.com/siunam321/f3dc4d21a5a932c67b6c11d0026f5afc"],"weaknesses":["CWE-1321"],"ingestedAt":"2026-10-29T20:09:31.862Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/54xxx/CVE-2025-54803.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-54803","state":"PUBLISHED","datePublished":"2025-08-05T00:06:15.916Z","dateUpdated":"2025-08-05T14:31:35.284Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-07-29T16:50:28.395Z"},"containers":{"cna":{"title":"js-toml is vulnerable to Prototype Pollution","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"sunnyadn","product":"js-toml","versions":[{"version":"< 1.0.2","status":"affected"}]}],"references":[{"url":"https://github.com/sunnyadn/js-toml/security/advisories/GHSA-65fc-cr5f-v7r2","name":"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","name":"https://github.com/sunnyadn/js-toml/commit/b125910a3f094b744c9c3571360d4b9e3a472f66","tags":["x_refsource_MISC"]},{"url":"https://gist.github.com/siunam321/f3dc4d21a5a932c67b6c11d0026f5afc","name":"https://gist.github.com/siunam321/f3dc4d21a5a932c67b6c11d0026f5afc","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","subAvailabilityImpact":"HIGH","baseScore":7.9,"baseSeverity":"HIGH","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1321","lang":"en","description":"CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-08-05T00:06:15.916Z"},"source":{"advisory":"GHSA-65fc-cr5f-v7r2","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://gist.github.com/siunam321/f3dc4d21a5a932c67b6c11d0026f5afc","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-08-05T14:31:06.370088Z","id":"CVE-2025-54803","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-08-05T14:31:35.284Z"}}]}}}