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-2021-45459 Vulnerability in npm package node-windows
CVE-2018-16487 Vulnerability in npm package lodash._basemerge
CVE-2020-16040 Vulnerability in npm package electron
CVE-2022-25890 Vulnerability in npm package wifey
CVE-2020-26259 Vulnerability in maven package com.thoughtworks.xstream:xstream