CVE-2023-26121
7.5high
safe-eval vulnerable to Prototype Pollution via the safeEval function
- Severity
- 7.5high CVSS:3.1 by snyk
- Exploit likelihood
- 1.11% (higher than 66% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-hcg3-56jf-x4vh
Description
All versions of the package safe-eval are vulnerable to Prototype Pollution via the safeEval function, due to improper sanitization of its parameter content.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| safe-eval | before * | CVE List |
| safe-eval (npm) | up to 0.4.2 | GitHub Advisory Database |
| safe-eval_project safe-eval | up to 0.4.1 | NVD |
All scores
| snyk | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P |
| GitHub | 10.0critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVD | 10.0critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
References
| https://security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3373062 | exploit, third-party-advisory, web | |
| 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://nvd.nist.gov/vuln/detail/CVE-2023-26121 | advisory | |
| https://github.com/hacksparrow/safe-eval | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-26121 changed 2025-02-10 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-hcg3-56jf-x4vh changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2023-26121 changed 2026-06-17 | Public domain |