Read the docs
TI-2022-09459 Aliases CVE-2022-25904GHSA-33vh-7x8q-mg35

Prototype pollution in safe-eval

Priority HIGH 82CWE-1321Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
No fix listed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00943 61st percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
—safe-evalall versions—No fix listedCNA
—safe-eval (npm)up to 0.4.1—No fix listedGHSA-33vh-7x8q-mg35
  • safe-eval Vendor— Affected all versions Fixed in — No fix listed CNA
  • safe-eval (npm) Vendor— Affected up to 0.4.1 Fixed in — No fix listed GHSA-33vh-7x8q-mg35

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:safe-eval_project:safe-eval:*:*:*:*:*:node.js:*:*up to 0.4.1VulnerableSafe-eval Project
  • cpe:2.3:a:safe-eval_project:safe-eval:*:*:*:*:*:node.js:*:* Versions up to 0.4.1 Vulnerable ·Safe-eval Project

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-25904
  2. 2026-10-03 Alias added: GHSA-33vh-7x8q-mg35

References

  • TI-2023-11346 Prototype pollution in safe-eval CVSS 3.1CRITICAL 10.0
  • TI-2023-11347 Prototype pollution in safe-eval CVSS 3.1CRITICAL 10.0
  • TI-2017-11808 The safe-eval module describes itself as a safer version of eval. CVSS 3.0CRITICAL 10.0
  • TI-2020-06230 Sandbox Escape CVSS 3.1CRITICAL 9.8

Sources