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-2019-17495 Vulnerability in maven package org.webjars.bower:swagger-ui
CVE-2023-40817 Vulnerability in maven package org.opencrx:opencrx-core-models
CVE-2021-41182 Vulnerability in maven package org.webjars.bowergithub.jquery:jquery-ui
CVE-2020-28455 Vulnerability in npm package markdown-it-toc
CVE-2020-7677 Vulnerability in maven package org.webjars.npm:thenify