---
title: "CVE-2026-140012"
canonical_url: "https://pkgseek.com/security/CVE-2026-140012"
locale: "zh-CN"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2026-140012

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.

CVE-2026-140012 严重级别为 MEDIUM (5.3)，共索引 3 条受影响软件包构建记录，涉及 1 个发行版。

- **级别 / 评分**: MEDIUM (5.3)
- **受影响构建数**: 3
- **涉及发行版**: 1
- **已标明修复版本发行版**: 暂无已标明修复记录

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | libjs-terser | 5.38.0-1 | — |
| Debian | trixie | node-terser | 5.38.0-1 | — |
| Debian | trixie | terser | 5.38.0-1 | — |
