CVE-2022-25904
Prototype Pollution
CRITICAL 9.8EPSS 0.9%
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
- safe-eval
- CVSS v3.1 NVD
- 9.8 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS v3.1 SNYK
- 7.5 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - EPSS
- 0.91% chance of exploitation in the next 30 days, 59th percentile
- Published
- 2022-12-21
- Updated
- 2025-04-16
Proof-of-concept exploits (2)
- hacksparrow/safe-eval/issues/26265★ · 2023-04-16
- https://security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3175701