Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') Affecting node-js-yaml package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.01% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN12-NODEJSYAML-13961715
  • published14 Nov 2025
  • disclosed13 Nov 2025

Introduced: 13 Nov 2025

NewCVE-2025-64718  (opens in a new tab)
CWE-1321  (opens in a new tab)

How to fix?

There is no fixed version for Debian:12 node-js-yaml.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-js-yaml package and not the node-js-yaml package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

js-yaml is a JavaScript YAML parser and dumper. In js-yaml 4.1.0 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. The problem is patched in js-yaml 4.1.1. 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).