Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. safe-eval
  4. ›
  5. CVE-2023-26121

CVE-2023-26121: safe-eval vulnerable to Prototype Pollution via the safeEval function

April 11, 2023 (updated November 7, 2023)

All versions of the package safe-eval is vulnerable to Prototype Pollution via the safeEval function, due to improper sanitization of its parameter content.

References

  • gist.github.com/seongil-wi/9d9fc0cc5b7b130419cd45827e59c4f9
  • github.com/advisories/GHSA-hcg3-56jf-x4vh
  • github.com/hacksparrow/safe-eval/issues/28
  • nvd.nist.gov/vuln/detail/CVE-2023-26121
  • security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3373062

Code Behaviors & Features

Detect and mitigate CVE-2023-26121 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 0.4.1

Solution

Unfortunately, there is no solution available yet.

Impact 10 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Source file

npm/safe-eval/CVE-2023-26121.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:21 +0000.