Vulnerability
CVE-2025-64718
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).
575 advisories report this vulnerability, across 10 ecosystems.
Advisories
- CGA-227j-vrq2-w2fx
- CGA-22r6-pmx2-3c4w
- CGA-2339-f87m-29ph
- CGA-238w-v767-5xv3
- CGA-23c8-gvfp-88xh
- CGA-252r-8wcm-g892
- CGA-2535-vh4v-x3xh
- CGA-25j2-v99g-cm6q
- CGA-2786-534f-pqrq
- CGA-27pw-9hxp-hw34
- CGA-27rw-79x5-4h5v
- CGA-29jj-wf47-567j
- CGA-29rf-c2qq-f8vw
- CGA-2cjm-m47m-gf5q
- CGA-2f43-gmmp-p5pm
- CGA-2f4h-rchg-jjfr
- CGA-2fp4-ppm3-p5f4
- CGA-2gpp-3573-7ch4
- CGA-2gr9-27qh-rhgm
- CGA-2h77-36g5-xv7j
- CGA-2j92-5vw4-rphm
- CGA-2jgp-5qgg-8hph
- CGA-2jpx-vrcr-4755
- CGA-2m37-28wj-9fg8
- CGA-2mfg-f4g2-c7w7
- CGA-2p22-hr27-9m62
- CGA-2pm2-q2fq-3853
- CGA-2prh-x5mc-v86r
- CGA-2rr9-65v4-q2xp
- CGA-2rxh-28m9-rfh5
- CGA-2wmf-hmg7-rqwg
- CGA-2wmm-xcwh-rrjf
- CGA-2wq2-6p92-w4mp
- CGA-2x86-pww7-562m
- CGA-32wc-8j2w-4jx9
- CGA-3383-wqx5-jrhw
- CGA-3388-973p-phh2
- CGA-33jh-j73w-7gp2
- CGA-34hv-x97p-6jq2
- CGA-34m5-qgpx-wcj4
- CGA-358f-89g3-hmgh
- CGA-35m9-x3rm-22h2
- CGA-3699-xf3h-fw88
- CGA-3754-9hxj-mmv6
- CGA-37w3-6h9r-6pq9
- CGA-38p5-vcpp-3hpq
- CGA-398w-xxv7-qrcq
- CGA-39c8-mm8f-jq69
- CGA-3c5w-jfqp-rvxp
- CGA-3f3g-xjm5-qqvh
- CGA-3f9c-ggr2-xw2c
- CGA-3hvg-mwmf-mxc3
- CGA-3mj4-qp48-jfjq
- CGA-3mm7-3xxj-w59h
- CGA-3p79-hvcm-g572
- CGA-3pwh-vxc3-mw3r
- CGA-3qpm-p9vg-6rqh
- CGA-3r59-rcph-93pc
- CGA-3whw-cv4f-4mv2
- CGA-3x4p-fv2w-3mph
- CGA-3x92-pmpg-j9fm
- CGA-3xx5-chqr-whq4
- CGA-449p-g473-xfr9
- CGA-4554-462c-42rf
- CGA-45v3-ghfp-2g24
- CGA-462x-8x9j-rfg9
- CGA-47g3-f456-2mm3
- CGA-4852-gwhj-hx29
- CGA-48cf-vc5c-474w
- CGA-4998-898r-xvxv
- CGA-49mw-9f2g-h9qp
- CGA-4cf9-q6qf-gc3h
- CGA-4cwc-fm5w-hvjr
- CGA-4fjm-j8c8-9qjf
- CGA-4fv5-w3jr-m7wm
- CGA-4g6q-7f4f-hrwh
- CGA-4hwp-prqw-p3cm
- CGA-4j5p-478q-27x3
- CGA-4jqh-fqc2-9rcr
- CGA-4m78-8pvh-f8m7
- CGA-4p2v-gjc7-4xpc
- CGA-4qhx-5pw5-58mg
- CGA-4r3p-47c6-rp3v
- CGA-4v2m-pmg9-xc58
- CGA-4vfp-cwvp-g67r
- CGA-4w3q-93q6-cpjq
- CGA-4wgr-3m8x-86qv
- CGA-4wxj-hqjp-9rc7
- CGA-4x6c-f2rf-82v5
- CGA-4xjq-p4mr-qxrr
- CGA-52f7-2mjq-646c
- CGA-52rc-r89v-h29x
- CGA-52vw-5626-8wc2
- CGA-5335-4f7w-p632
- CGA-53q3-wwpj-5gpf
- CGA-54j2-m567-f4cj
- CGA-557f-rw37-g4rh
- CGA-56xx-3mj4-h49x
- CGA-57gw-qvxx-2x3v
- CGA-5948-53fp-gpg4
Showing the first 100. The API lists them all: /api/v1/vulnerabilities/CVE-2025-64718.
References
- https://github.com/nodeca/js-yaml/commit/383665ff4248ec2192d1274e934462bb30426879
- https://github.com/nodeca/js-yaml/commit/5278870a17454fe8621dbd8c445c412529525266
- https://github.com/nodeca/js-yaml/issues/730#issuecomment-3549635876
- https://github.com/nodeca/js-yaml/security/advisories/GHSA-mh29-5h37-fv8m
- https://github.com/advisories/GHSA-mh29-5h37-fv8m