← Database

CVE-2022-25904

HIGH CVSS: 7.5 Published: 2022-12-20 Modified: 2026-06-17

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.

Affected Platforms

Safe-Eval Project Safe-Eval

Weakness Type

CWE-1321, CWE-1321

References