Description
The static-eval module is intended to evaluate statically-analyzable expressions. In affected versions, untrusted user input is able to access the global function constructor, effectively allowing arbitrary code execution.
Remediation
References
https://github.com/substack/static-eval/pull/18
https://maustin.net/articles/2017-10/static_eval
https://nodesecurity.io/advisories/548
Related Vulnerabilities
CVE-2018-3726 Vulnerability in npm package crud-file-server
CVE-2021-39149 Vulnerability in maven package com.thoughtworks.xstream:xstream
CVE-2016-4567 Vulnerability in maven package org.webjars:mediaelement
CVE-2019-10744 Vulnerability in maven package org.webjars:lodash
CVE-2023-22491 Vulnerability in npm package gatsby-transformer-remark