Wiz Agents & Workflows are here

CVE-2025-64718
JavaScript vulnerability analysis and mitigation

Overview

js-yaml, a JavaScript YAML parser and dumper, was found to contain a prototype pollution vulnerability (CVE-2025-64718) affecting versions 4.1.0 and below. The vulnerability was discovered and disclosed on November 13, 2025, allowing attackers to modify the prototype of parsed YAML documents through prototype pollution via the proto key (GitHub Advisory).

Technical details

The vulnerability has a CVSS v3.1 score of 5.3 (Medium) with a vector of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N. The root cause lies in the unsafe handling of keys named proto during YAML document parsing, specifically in two functions: storeMappingPair and mergeMappings in lib/loader.js. These functions performed direct property assignments without proper protection against prototype pollution (GitHub Commit).

Impact

The vulnerability allows attackers to modify the prototype of parsed YAML document results through prototype pollution, potentially affecting all users who parse untrusted YAML documents. This could lead to manipulation of object properties across the application (Miggo).

Mitigation and workarounds

The vulnerability has been patched in js-yaml version 4.1.1. For users unable to update immediately, workarounds include using node --disable-proto=delete or using Deno, where pollution protection is enabled by default. The patch introduces a new setProperty function that specifically checks for the proto key and uses Object.defineProperty for safe property assignment (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-3hfp-gqgh-xc5gCRITICAL9.6
  • JavaScriptJavaScript
  • @lightdash/cli
NoYesApr 02, 2026
CVE-2026-34950CRITICAL9.1
  • JavaScriptJavaScript
  • fast-jwt
NoNoApr 02, 2026
CVE-2026-34752HIGH8.7
  • JavaScriptJavaScript
  • haraka
NoYesApr 02, 2026
CVE-2026-34825HIGH8.5
  • JavaScriptJavaScript
  • @nocobase/plugin-workflow-sql
NoYesApr 02, 2026
GHSA-ccgf-5rwj-j3hvLOW2.1
  • JavaScriptJavaScript
  • telejson
NoYesApr 02, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management