CVE-2022-25904

Prototype Pollution

Published Dec 21, 2022 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-7480 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.
Github GHSA Github GHSA GHSA-33vh-7x8q-mg35 safe-eval vulnerable to Prototype Pollution
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Apr 16, 2025, 2:42 PM
Reserved
Feb 24, 2022, 12:00 AM
Status
Modified
Published
Dec 20, 2022, 5:15 AM
Modified
Jun 17, 2026, 4:34 AM