Skip to main content
CVE-2026-140012VulnerabilityPublished

Microsoft · Terser: Input sourcemap sourcesContent leaks, revealing input source code

Affects MicrosoftSource GCVE Database

0
Compare
Authoritative record:CVE-2026-140012· Medium 5.3

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

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.15.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
npmterserpkg:npm/terserOther threatsAffected
  • <4.8.2
Fixed in
  • 4.8.2
npmterserpkg:npm/terserOther threatsAffected
  • >=5.0.0 <5.51.3
Fixed in
  • 5.51.3

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.

References

Community reviews

Loading reviews…