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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | estree-util-value-to-estree | 3.3.3 | GHSA-f7f6-9jq7-3rqj |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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