Skip to content
OpenAdvisories
High · 7.5 CVE-2022-25904 EUVD-2022-7480GHSA-33vh-7x8q-mg35

Prototype Pollution

Published Dec 21, 2022 · Updated Apr 16, 2025 · Assigned by snyk

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 products

VendorProductAffectedFixed
— safe-eval < unspecified unspecified

Affected packages

EcosystemPackageAffectedFixedRecord
npm safe-eval <= 0.4.1 — GHSA-33vh-7x8q-mg35

References