VulnerabilityCVE-2026-140012
Terser: Input sourcemap sourcesContent leaks, revealing input source code
Not on CISA KEVCVSS 5.3 (v3.1)
Summary
Terser 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
See the full record, free
- Every source, score and reference in one place
- Timeline and related records
- Watch an entry and get an alert when it changes
Sources and credits
- CVE List Source: CVE Program (cve.org)
- NVD This product uses the NVD API but is not endorsed or certified by the NVD.