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

Published Nov 13, 2025
·
Updated

Impact

In js-yaml 4.1.0, 4.0.0, and 3.14.1 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.

Patches

Problem is patched in js-yaml 4.1.1 and 3.14.2.

Workarounds

You 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

https://cheatsheetseries.owasp.org/cheatsheets/PrototypePollutionPreventionCheatSheet.html

Other sources

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

MITRE

Affected Software

6 affected componentsFixes available
js-yaml js-yaml<4.1.1
npm/js-yaml<3.14.2
3.14.2
npm/js-yaml>=4.0.0<4.1.1
4.1.1
Nodeca Js-yaml Node.js<3.14.2
Nodeca Js-yaml Node.js>=4.0.0<4.1.1
IBM watsonx.data<=2.2- 2.3.1

Event History

Nov 13, 2025
CVE Published
via MITRE·03:32 PM
Data Sourced
via MITRE·03:32 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Nov 14, 2025
Advisory Published
via GitHub·02:29 PM
Data Sourced
via GitHub·02:29 PM
DescriptionSeverityWeaknessAffected Software
May 9, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-64718?

CVE-2025-64718 has been classified as a moderate severity vulnerability.

2

How do I fix CVE-2025-64718?

To fix CVE-2025-64718, upgrade js-yaml to version 4.1.1 or later.

3

Who is affected by CVE-2025-64718?

Any users of js-yaml version 4.1.0 or below who parse untrusted YAML documents are potentially affected.

4

What type of vulnerability is CVE-2025-64718?

CVE-2025-64718 is a prototype pollution vulnerability that allows modification of the result of a parsed YAML document.

5

What is the impact of CVE-2025-64718?

The impact of CVE-2025-64718 can lead to unexpected behavior or security issues in applications that use js-yaml for parsing YAML.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203