Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-140012

published medium CVSS 3.1 · 5.3

Terser: Input sourcemap sourcesContent leaks, revealing input source code

Published
30 Nov 2026, 21:56:49 UTC
Updated
30 Nov 2026, 21:56:49 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
terser — terser>= 5.0.0, < 5.51.3 · < 4.8.2 Affected Not stated GitHub_M

Description

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 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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
5.3 / 10
Severity
medium
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
terser terser >= 5.0.0, < 5.51.3 (affected)< 4.8.2 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-540 CWE-540: Inclusion of Sensitive Information in Source Code (GitHub_M · cna)

References

5

Provider assertions

1

GitHub_M · cna

Terser: Input sourcemap sourcesContent leaks, revealing input source code

Provenance

Schema
5.2
Searchable
yes
Content hash
dccaf211c92b9d81d5ddea7a1aec0ceaba9beacbf8059b63927151e46541a968
Ingested
30 Nov 2026, 22:03:40 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected