Vulnerability · Published Apr 7, 2025 · Assigned by GitHub_M

CVE-2025-32014estree-util-value-to-estree allows prototype pollution in generated ESTree

Medium 6.9

In plain English

A medium-severity prototype pollution in estree-util-value-to-estree from remcohaszing. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)6.9Medium
Exploit odds (30 days)0.5%top 60.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

estree-util-value-to-estree converts a JavaScript value to an ESTree expression. When generating an ESTree from a value with a property named __proto__, valueToEstree would generate an object that specifies a prototype instead. This vulnerability is fixed in 3.3.3.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmestree-util-value-to-estree3.3.3GHSA-f7f6-9jq7-3rqj

Affected products (as reported)

VendorProductVersions
remcohaszing estree-util-value-to-estree < 3.3.3

Weakness: CWE-1321 · Vector: 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

References