Prototype pollution in js-yaml (npm) - CVE-2025-64718

 

Prototype pollution in js-yaml (npm) - CVE-2025-64718

Published: January 19, 2026


Vulnerability identifier: #VU121666
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2025-64718
CWE-ID: CWE-1321
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: npm Inc.
Affected software:
js-yaml (npm)

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary JavaScript code.

The vulnerability exists due to improper input validation. A remote attacker can pass specially crafted input to the application and perform prototype pollution attacks.


How to mitigate CVE-2025-64718

Install update from vendor's website.

Sources