What’s Vulnerable › Vulnerabilities
CVE-2022-25904: Prototype Pollution
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-12-20 · updated 2026-06-17
- Weakness: CWE-1321
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.
Affected products
- safe-eval: through 0.4.1
References
- https://github.com/hacksparrow/safe-eval/issues/26
- https://security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3175701
- https://github.com/hacksparrow/safe-eval/issues/26
- https://security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3175701
Get alerted when CVE-2022-25904 or the next vulnerability affects your stack