Terser vulnerabilities
3 vulnerabilities
Known vulnerabilities in Terser products, newest first, with CVSS severity, EPSS, KEV listings and ransomware use, across 2 products.
Products
2- Terser2 vulnerabilities
- Html Minifier Terser1 vulnerabilities
RoutineCVE-2026-140012terser +32 moreTerser: Input sourcemap sourcesContent leaks, revealing input source codeTerser is a JavaScript parser, mangler, and compressor toolkit for ES6+. Prior to 4.8.2, and from 5.0.0 to before 5.51.3, when minify() is given an input source map through the sourceMap.content option, Terser copies that map's sourcesContent into the generated source map even when includeSources is false. Anyone who receives the generated source map can read the original source code, which may include comments, constants, or embedded secret tokens. This issue is fixed in versions 4.8.2 and 5.51.3.CVSS5.3MediumEPSS0.45%PrioritiseCVE-2022-37620kangax · html-minifier +8 morekangax html-minifierA Regular Expression Denial of Service (ReDoS) flaw was found in kangax html-minifier 4.0.0 because of the reCustomIgnore regular expression.CVSS7.5HighEPSS1.37%RoutineCVE-2022-25858terser +12 moreRegular Expression Denial of Service (ReDoS)The package terser before 4.8.1, from 5.0.0 and before 5.14.2 are vulnerable to Regular Expression Denial of Service (ReDoS) due to insecure usage of regular expressions.CVSS7.5HighEPSS3.25%