estree-util-value-to-estree allows prototype pollution in generated ESTree
remcohaszing estree-util-value-to-estree
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| estree-util-value-to-estree npm |
|
|
Original 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.
From the CVE record · GitHub_M