CVE-2025-64718

NameCVE-2025-64718
Descriptionjs-yaml is a JavaScript YAML parser and dumper. In js-yaml 4.1.0 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. The problem is patched in js-yaml 4.1.1. 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).
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
node-js-yaml (PTS)bullseye3.14.1+dfsg+~3.12.6-2vulnerable
forky, sid, bookworm, trixie4.1.0+dfsg+~4.0.5-7vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
node-js-yamlsource(unstable)(unfixed)

Notes

https://github.com/nodeca/js-yaml/security/advisories/GHSA-mh29-5h37-fv8m
Fixed by: https://github.com/nodeca/js-yaml/commit/383665ff4248ec2192d1274e934462bb30426879 (4.1.1)

Search for package or bug name: Reporting problems