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
References
https://github.com/hacksparrow/safe-eval/issues/26
https://security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3175701
Related Vulnerabilities
CVE-2021-30074 Vulnerability in npm package docsify
CVE-2021-39199 Vulnerability in npm package remark-html
CVE-2016-4055 Vulnerability in maven package org.fujion.webjars:moment
CVE-2021-23355 Vulnerability in npm package ps-kill
CVE-2023-47327 Vulnerability in maven package org.silverpeas.core:silverpeas-core-web