Microsoft · Terser: Input sourcemap sourcesContent leaks, revealing input source code
Affects MicrosoftSource GCVE Database
Not known to be exploited · CVSS 5.3 Medium · fixed in 4.8.2 : update Microsoft when convenient.
Data as of 2 Dec 2026, 11:02 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 5.3 |
|---|
- Patch
- Available – fixed in 4.8.2, 5.51.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 30 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.
What to do
Upgrade terser to 4.8.2; terser to 5.51.3.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
npmterserpkg:npm/terserOther threats | Affected
| Fixed in
|
npmterserpkg:npm/terserOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
A vulnerability in Terser version 4.0 causes input sourcemap sourcesContent to leak, potentially revealing the original input source code. This issue is tracked as CVE-2026-140012 and is associated with CWE-540.