{"id":"GHSA-mh29-5h37-fv8m","revision":"fd763c14ebf146799d639948c02bad07","records":[{"revision":"fd763c14ebf146799d639948c02bad07","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-mh29-5h37-fv8m","aliases":["CVE-2025-64718"],"title":"js-yaml has prototype pollution in merge (<<)","description":"### 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","state":0,"publishedAt":"2025-11-14T14:29:48+00:00","modifiedAt":"2026-09-10T03:50:58.4691269+00:00","affected":[{"ecosystem":"npm","name":"js-yaml","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"4.0.0"},{"kind":"fixed","version":"4.1.1"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"js-yaml","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"3.14.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/nodeca/js-yaml/security/advisories/GHSA-mh29-5h37-fv8m","https://nvd.nist.gov/vuln/detail/CVE-2025-64718","https://github.com/nodeca/js-yaml/issues/730#issuecomment-3549635876","https://github.com/nodeca/js-yaml/commit/383665ff4248ec2192d1274e934462bb30426879","https://github.com/nodeca/js-yaml/commit/5278870a17454fe8621dbd8c445c412529525266","https://github.com/advisories/GHSA-mh29-5h37-fv8m","https://github.com/nodeca/js-yaml"],"sourceUrl":"https://github.com/advisories/GHSA-mh29-5h37-fv8m","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-mh29-5h37-fv8m","identifiers":["GHSA-mh29-5h37-fv8m","CVE-2025-64718"]},"retained":false,"historicalAffected":[]}],"coverage":[]}