{"id":"CVE-2025-64718","summary":"js-yaml has prototype pollution in merge (\u003c\u003c)","details":"js-yaml is a JavaScript YAML parser and dumper. In js-yaml before 4.1.1 and 3.14.2, it's possible for an attacker to modify the prototype of the result of a parsed yaml document via prototype pollution (`__proto__`). All users who parse untrusted yaml documents may be impacted. The problem is patched in js-yaml 4.1.1 and 3.14.2. Users can protect against this kind of attack on the server by using `node --disable-proto=delete` or `deno` (in Deno, pollution protection is on by default).","aliases":["GHSA-mh29-5h37-fv8m"],"modified":"2026-05-28T03:53:05.333765789Z","published":"2025-11-13T15:32:44.634Z","related":["CGA-mfcv-6pv8-6v39","SUSE-SU-2026:20170-1","SUSE-SU-2026:20182-1","SUSE-SU-2026:20540-1","SUSE-SU-2026:20580-1","openSUSE-SU-2026:10036-1","openSUSE-SU-2026:20117-1","openSUSE-SU-2026:20251-1"],"database_specific":{"cwe_ids":["CWE-1321"],"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/64xxx/CVE-2025-64718.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/64xxx/CVE-2025-64718.json"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-mh29-5h37-fv8m"},{"type":"ADVISORY","url":"https://github.com/nodeca/js-yaml/security/advisories/GHSA-mh29-5h37-fv8m"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-64718"},{"type":"REPORT","url":"https://github.com/nodeca/js-yaml/issues/730#issuecomment-3549635876"},{"type":"FIX","url":"https://github.com/nodeca/js-yaml/commit/383665ff4248ec2192d1274e934462bb30426879"},{"type":"FIX","url":"https://github.com/nodeca/js-yaml/commit/5278870a17454fe8621dbd8c445c412529525266"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/nodeca/js-yaml","events":[{"introduced":"ee74ce4b4800282b2f23b776be7dc95dfe34db1c"},{"fixed":"9963d366dfbde0c69722452bcd40b41e7e4160a0"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-64718.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"}]}