CVE-2025-64718

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

Configuration 1 (hide)

OR cpe:2.3:a:nodeca:js-yaml:*:*:*:*:*:node.js:*:*
cpe:2.3:a:nodeca:js-yaml:*:*:*:*:*:node.js:*:*

History

No history.

Information

Published : 2025-11-13 16:15

Updated : 2026-02-02 12:54


NVD link : CVE-2025-64718

Mitre link : CVE-2025-64718

CVE.ORG link : CVE-2025-64718


JSON object : View

Products Affected

nodeca

  • js-yaml
CWE
CWE-1321

Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')