Home / nodeca / js-yaml / CVE-2025-64718
CVE-2025-64718: is it exploited, and which versions of nodeca js-yaml are affected and fixed?
CVE-2025-64718 is a prototype pollution vulnerability in nodeca js-yaml. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:39 UTC). Affected: js-yaml from 4.0.0 before 4.1.1 and js-yaml before 3.14.2 (GitHub advisory GHSA-mh29-5h37-fv8m). Fixed in 4.1.1 and 3.14.2 (GitHub advisory GHSA-mh29-5h37-fv8m). Severity: Medium (5.3, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:15 UTC.
What is CVE-2025-64718?
js-yaml has prototype pollution in merge (<<)
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).
From the CVE record by GitHub_M, last updated January 29, 2026, 22:08 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| nodeca | js-yaml | >= 4.0.0, < 4.1.1 < 3.14.2 |
As the CVE record by GitHub_M states it, last updated January 29, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | js-yaml | >= 4.0.0, < 4.1.1 | 4.1.1 | GHSA-mh29-5h37-fv8m |
| npm | js-yaml | < 3.14.2 | 3.14.2 | GHSA-mh29-5h37-fv8m |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated January 31, 2026. Summary: js-yaml has prototype pollution in merge (<<).
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| nodeca | js-yaml | before 3.14.2 | application |
| nodeca | js-yaml | from 4.0.0 before 4.1.1 | application |
NVD analysis (status Analyzed), last modified October 7, 2026, 21:10 UTC.
How severe is CVE-2025-64718?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-64718 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, November 13, 2025)
- EPSS
- 0.42% probability of exploitation activity in the next 30 days, percentile 38.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes
Where are the vendor advisories and references?
- https://github.com/nodeca/js-yaml/security/advisories/GHSA-mh29-5h37-fv8m x_refsource_CONFIRM
- https://github.com/nodeca/js-yaml/issues/730#issuecomment-3549635876 x_refsource_MISC
- https://github.com/nodeca/js-yaml/commit/383665ff4248ec2192d1274e934462bb30426879 x_refsource_MISC
- https://github.com/nodeca/js-yaml/commit/5278870a17454fe8621dbd8c445c412529525266 x_refsource_MISC
- https://github.com/advisories/GHSA-mh29-5h37-fv8m
When was it published, and where is the official record?
- Reserved
- November 10, 2025
- Published
- November 13, 2025, 15:32 UTC
- CVE record updated
- January 29, 2026, 22:08 UTC by GitHub_M
- NVD
- Analyzed, last modified October 7, 2026, 21:10 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:15 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect js-yaml?
- Sep 1, 2026CVE-2026-84375 nodeca js-yaml: denial of service (uncontrolled resource consumption)
- Aug 13, 2026CVE-2026-73643 nodeca js-yaml: denial of service through slow algorithm
- Jul 8, 2026CVE-2026-59868 nodeca js-yaml: denial of service through slow algorithm
- Jul 8, 2026CVE-2026-59869 nodeca js-yaml: denial of service through slow algorithm
- Jul 8, 2026CVE-2026-59870 nodeca js-yaml: denial of service through slow algorithm
- Jun 22, 2026CVE-2026-53550 nodeca js-yaml: denial of service through slow algorithm
- Jun 28, 2013CVE-2013-4660 Nodeca Js-yaml: improper input validation
Questions about CVE-2025-64718
Is CVE-2025-64718 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 0.42% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of nodeca js-yaml are affected by CVE-2025-64718?
js-yaml from 4.0.0 before 4.1.1 and js-yaml before 3.14.2, per the GitHub advisory GHSA-mh29-5h37-fv8m. The tables above give every range the sources list.
Which version fixes CVE-2025-64718?
4.1.1 and 3.14.2, per the GitHub advisory GHSA-mh29-5h37-fv8m. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-64718?
Medium (5.3, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-64718?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.