CVE-2025-64718: nodeca js-yaml · Prototype Pollution
Affects nodeca js-yamlSource CVE Database V5
Not known to be exploited · CVSS 5.3 Medium : upgrade to 3.14.2 when convenient.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 36% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.14.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 13 Nov 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Upgrade nodeca js-yaml to 3.14.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
npmjs-yamlpkg:npm/js-yamlOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
European organizations should immediately identify all instances of js-yaml usage in their software stacks, including direct dependencies and transitive dependencies in Node.js projects. Upgrading to js-yaml versions 4.1.1 or 3.14.2 is the most effective mitigation. For environments where immediate upgrade is not feasible, running Node.js with the --disable-proto=delete flag can help prevent prototype pollution attacks by disabling prototype deletion operations. Additionally, migrating to the Deno runtime environment can provide built-in protection against such pollution. Organizations should also implement strict input validation and sanitization for YAML inputs, especially if sourced from untrusted or external origins. Employing runtime application self-protection (RASP) or behavior monitoring to detect anomalous prototype modifications can provide additional defense layers. Regular dependency audits and integrating software composition analysis (SCA) tools into CI/CD pipelines will help detect vulnerable versions early. Finally, educating developers about the risks of prototype pollution and secure YAML parsing practices is crucial to prevent future vulnerabilities.
Description
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).
References
- github.com/nodeca/js-yaml/security/advisories/GHSA-mh29-5h37-fv8m (opens in a new tab)
- github.com/nodeca/js-yaml/issues/730 (opens in a new tab)
- github.com/nodeca/js-yaml/commit/383665ff4248ec2192d1274e934462bb30426879 (opens in a new tab)
- github.com/nodeca/js-yaml/commit/5278870a17454fe8621dbd8c445c412529525266 (opens in a new tab)
- github.com/advisories/GHSA-mh29-5h37-fv8m (opens in a new tab)