All reports
Critical

safe-eval vulnerable to Prototype Pollution

Affected versions

Affected versions
<= 0.4.1
Fixed version
Not reported

Exploitation

CVE-2022-25904

Probability of exploitation in the next 30 days: 0.94%

FIRST EPSS · 2026-11-21

Description

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.

Links