mirror of
https://github.com/0xMarcio/cve.git
synced 2025-05-06 02:31:38 +00:00
871 B
871 B
CVE-2022-25904
Description
All versions of package safe-eval are vulnerable to Prototype Pollution which allows an attacker to add or modify properties of the Object.prototype.Consolidate when using the function safeEval. This is because the function uses vm variable, leading an attacker to modify properties of the Object.prototype.
POC
Reference
- https://github.com/hacksparrow/safe-eval/issues/26
- https://security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3175701
Github
No PoCs found on GitHub currently.