CVE-2025-32014
JavaScript vulnerability analysis and mitigation

Overview

CVE-2025-32014 affects estree-util-value-to-estree, a JavaScript library that converts JavaScript values to ESTree expressions. The vulnerability was discovered and disclosed on April 6, 2025, affecting versions prior to 3.3.3. When generating an ESTree from a value with a property named proto, valueToEstree would generate an object that specifies a prototype instead, leading to potential prototype pollution issues (GitHub Advisory).

Technical details

The vulnerability is classified as CWE-1321 (Improperly Controlled Modification of Object Prototype Attributes). It has been assigned a CVSS v4.0 Base Score of 6.9 (Medium) with the vector string CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N. The issue occurs when the library processes objects containing proto properties, where instead of treating it as a regular property, it generates code that modifies the object's prototype (NVD).

Impact

The vulnerability could lead to prototype pollution, which may allow attackers to modify object prototypes and potentially execute unintended code. This could affect the integrity and security of applications using the affected versions of the library (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been fixed in version 3.3.3 of estree-util-value-to-estree. For users who cannot immediately update, two workarounds are available: 1) If controlling the input, avoid specifying properties named proto, or 2) Strip any properties named proto before passing data to valueToEstree (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

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