{"id":"CVE-2025-64718","aliases":["CVE-2025-64718","GHSA-mh29-5h37-fv8m"],"related":[],"kind":"vulnerability","state":"published","title":"js-yaml has prototype pollution in merge (<<)","summary":"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).","summarySource":"cvelist","descriptions":[{"lang":"en","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).","source":"cvelist"},{"lang":"en","text":"### Impact\n\nIn js-yaml 4.1.0, 4.0.0, and 3.14.1 and below, 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.\n\n### Patches\n\nProblem is patched in js-yaml 4.1.1 and 3.14.2.\n\n### Workarounds\n\nYou 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).\n\n### References\n\nhttps://cheatsheetseries.owasp.org/cheatsheets/Prototype_Pollution_Prevention_Cheat_Sheet.html","format":"markdown","source":"ghsa"},{"lang":"es","text":"js-yaml es un analizador y volcador YAML de JavaScript. En js-yaml antes de 4.1.1 y 3.14.2, es posible para un atacante modificar el prototipo del resultado de un documento YAML analizado a través de la contaminación de prototipos ('__proto__'). Todos los usuarios que analizan documentos YAML no confiables pueden verse afectados. El problema está parcheado en js-yaml 4.1.1 y 3.14.2. Los usuarios pueden protegerse contra este tipo de ataque en el servidor usando 'node --disable-proto=delete' o 'deno' (en Deno, la protección contra la contaminación está activada por defecto).","source":"nvd"}],"published":"2025-11-13T15:32:44.634Z","modified":"2026-10-07T21:10:00.200Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-1321"],"affected":[{"ranges":[{"version":">= 4.0.0, < 4.1.1","status":"affected"},{"version":"< 3.14.2","status":"affected"}],"vendor":"nodeca","product":"js-yaml","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"4.0.0","status":"affected","fixed":"4.1.1"}],"ecosystem":"npm","package":"js-yaml","purl":"pkg:npm/js-yaml","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.14.2"}],"ecosystem":"npm","package":"js-yaml","purl":"pkg:npm/js-yaml","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.14.2"},{"status":"affected","introduced":"4.0.0","fixed":"4.1.1"}],"vendor":"nodeca","product":"js-yaml","cpe":"cpe:2.3:a:nodeca:js-yaml:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/nodeca/js-yaml/security/advisories/GHSA-mh29-5h37-fv8m","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/nodeca/js-yaml/issues/730#issuecomment-3549635876","tags":["issue-tracking","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/nodeca/js-yaml/commit/383665ff4248ec2192d1274e934462bb30426879","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/nodeca/js-yaml/commit/5278870a17454fe8621dbd8c445c412529525266","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/advisories/GHSA-mh29-5h37-fv8m","tags":["advisory","vendor-advisory"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-64718","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/nodeca/js-yaml","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-11-13T16:18:01.997Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-64718","url":"https://www.cve.org/CVERecord?id=CVE-2025-64718","licence":"CVE Terms of Use","modified":"2026-01-29T22:08:30.431Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mh29-5h37-fv8m","url":"https://github.com/advisories/GHSA-mh29-5h37-fv8m","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:58.469Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-64718","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-64718","licence":"Public domain","modified":"2026-10-07T21:10:00.200Z"}],"updatedAt":"2026-11-25T22:59:07.636Z","epss":{"score":0.00423,"percentile":0.38562,"date":"2026-12-01T12:00:22.000Z"}}