{"id":"CVE-2025-64718","published":"2025-11-13T15:32:44Z","modified":"2026-01-29T22:08:30Z","title":"js-yaml has prototype pollution in merge (<<)","vendor":"nodeca","product":"js-yaml","tier":"tail","description":{"text":"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).","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00688,"percentile":0.47965,"provenance":"source"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"references":[{"url":"https://github.com/nodeca/js-yaml/security/advisories/GHSA-mh29-5h37-fv8m","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nodeca/js-yaml/issues/730#issuecomment-3549635876","tags":["x_refsource_MISC"]},{"url":"https://github.com/nodeca/js-yaml/commit/383665ff4248ec2192d1274e934462bb30426879","tags":["x_refsource_MISC"]},{"url":"https://github.com/nodeca/js-yaml/commit/5278870a17454fe8621dbd8c445c412529525266","tags":["x_refsource_MISC"]},{"url":"https://github.com/advisories/GHSA-mh29-5h37-fv8m","tags":[]}],"priority":{"score":13.3,"factors":[{"name":"EPSS percentile","points":9.59},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"nodeca","affectedVersions":[{"vendor":"nodeca","product":"js-yaml","versions":[">= 4.0.0, < 4.1.1","< 3.14.2"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-11-13T16:18:01.997938Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"js-yaml","vulnerableRanges":[">=4.0.0, <4.1.1","<3.14.2"],"patched":["4.1.1","3.14.2"],"from":["GHSA-mh29-5h37-fv8m"],"provenance":"source"}],"summary":{"text":"The js-yaml library (nodeca's JavaScript YAML parser and dumper) contains a prototype pollution flaw in its merge (<<) handling, which lets a crafted YAML document modify the prototype of the parsed result via __proto__. An attacker can exploit it remotely over the network with no privileges or user interaction by getting an application to parse an untrusted YAML document, and the resulting impact is limited to integrity loss.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:59:21Z"},"euvd":{"id":"EUVD-2025-175314","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-nodeca-js-yaml-cve-2025-64718","children":[{"from":"CVE-2025-64718","to":"CVE-2026-59869","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:js-yaml","fromFixed":"3.14.2","toFixed":"3.15.0","daysApart":237},{"kind":"same-code","provenance":"machine","files":["lib/js-yaml/loader.js","lib/loader.js"],"commits":["https://github.com/nodeca/js-yaml/commit/383665ff4248ec2192d1274e934462bb30426879","https://github.com/nodeca/js-yaml/commit/5278870a17454fe8621dbd8c445c412529525266","https://github.com/nodeca/js-yaml/commit/24f13e79ee1343a7e30bd6f6c9d9cdbf0ac9b2b7","https://github.com/nodeca/js-yaml/commit/59423c6f8cdc78742ac00e25a4dd39ef16b702e4"],"basis":"shared function","functions":["mergeMappings","storeMappingPair"]}]},{"from":"CVE-2025-64718","to":"CVE-2026-84375","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/js-yaml/loader.js"],"commits":["https://github.com/nodeca/js-yaml/commit/383665ff4248ec2192d1274e934462bb30426879","https://github.com/nodeca/js-yaml/commit/5278870a17454fe8621dbd8c445c412529525266","https://github.com/nodeca/js-yaml/commit/3485bc06ff8a0251505f44a00414d90df2466639","https://github.com/nodeca/js-yaml/commit/6a8e05f9a485188ed730ac81e81ae221352ef480"],"basis":"shared function","functions":["storeMappingPair"]}]}],"packageHistory":[{"cve":"CVE-2013-4660","published":"2013-06-28","fixed":"2.0.5","kev":false},{"cve":"CVE-2025-64718","published":"2025-11-13","fixed":"4.1.1","kev":false},{"cve":"CVE-2026-53550","published":"2026-06-22","fixed":"4.2.0","kev":false,"link":{"from":"CVE-2025-64718","to":"CVE-2026-53550","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:js-yaml","fromFixed":"4.1.1","toFixed":"4.2.0","daysApart":221},{"kind":"version-step","provenance":"source","package":"npm:js-yaml","fromFixed":"3.14.2","toFixed":"3.15.0","daysApart":221}]}},{"cve":"CVE-2026-59869","published":"2026-07-08","fixed":"4.3.0","kev":false},{"cve":"CVE-2026-84375","published":"2026-09-01","fixed":"4.3.2","kev":false}],"package":"npm:js-yaml"}}