CVE-2023-26121
CRITICAL 10.0CVSS 3.1safe-eval vulnerable to Prototype Pollution via the safeEval function
All versions of the package safe-eval are vulnerable to Prototype Pollution via the safeEval function, due to improper sanitization of its parameter content.
- Published
- 11 Apr 2023
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-1321
- Also known as
- GHSA-hcg3-56jf-x4vh
- Sources
- NVDJSONOSV GHSA-hcg3-56jf-x4vhJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | safe-eval_project | safe-evalcpe:2.3:a:safe-eval_project:safe-eval:*:*:*:*:*:node.js:*:* |
<= 0.4.1 | |
| OSV | npm | safe-eval | <= 0.4.2 |
References
- https://gist.github.com/seongil-wi/9d9fc0cc5b7b130419cd45827e59c4f9 · Exploit, Third Party Advisory, WEB
- https://github.com/hacksparrow/safe-eval/issues/28 · Exploit, Issue Tracking, Third Party Advisory, WEB
- https://security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3373062 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-26121 · ADVISORY
- https://github.com/hacksparrow/safe-eval · PACKAGE
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 11 Apr 2023)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 11 Apr 2023)