CVE-2022-25904 – safe-eval
Package
Manager: npm
Name: safe-eval
Vulnerable Version: >=0 <=0.4.1
Severity
Level: Critical
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS: 0.00071 pctl0.22378
Details
safe-eval vulnerable to Prototype Pollution 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.
Metadata
Created: 2022-12-20T06:30:36Z
Modified: 2025-04-16T16:08:32Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/12/GHSA-33vh-7x8q-mg35/GHSA-33vh-7x8q-mg35.json
CWE IDs: ["CWE-1321"]
Alternative ID: GHSA-33vh-7x8q-mg35
Finding: F390
Auto approve: 1