Description
All versions of package transpile are vulnerable to Denial of Service (DoS) due to a lack of input sanitization or whitelisting, coupled with improper exception handling in the .to() function.
Remediation
References
https://github.com/stealjs/transpile/blob/56aaeb26f69496e45a60c03dc92653d53021d4ac/main.js%23L53
https://snyk.io/vuln/SNYK-JS-TRANSPILE-1290774
Related Vulnerabilities
CVE-2018-3738 Vulnerability in maven package org.webjars.npm:protobufjs
CVE-2019-10742 Vulnerability in maven package org.webjars.npm:axios
CVE-2023-3691 Vulnerability in maven package org.webjars.bowergithub.layui:layui
CVE-2022-22143 Vulnerability in npm package convict
CVE-2022-33980 Vulnerability in maven package org.apache.commons:commons-configuration2