Skip to main content
CVE-2025-64718VulnerabilityPublished Updated

CVE-2025-64718: nodeca js-yaml · Prototype Pollution

Affects nodeca js-yamlSource CVE Database V5

0

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

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Nov 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
npmjs-yamlpkg:npm/js-yamlOther threatsAffected
  • <3.14.2
Fixed in
  • 3.14.2

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

Community reviews

Loading reviews…