Terser: Input sourcemap sourcesContent leaks, revealing input source code
受影响
| 软件包 | 受影响版本 | 修复版本 |
|---|---|---|
| npm:terser | < 4.8.2 | 4.8.2 |
| npm:terser | >= 5.0.0, < 5.51.3 | 5.51.3 |
Leakage of user source code, which may include comments, constants with secret tokens, etc. When using Terser with an input sourcemap (sourceMap.content), and this input sourcemap has original source information (sourcesContent), Terser leaks this sourcesContent into the output, even when the user specified includeSources: false to opt-out. Details To help developers debug their JS applications, Terser's minify function reads and produces [source maps](https://developer.mozilla.org/en-US/docs/G…
在 X 上接收快讯漏洞利用、重大泄露和故障,附应对措施。
关注 @vulnpulse_app2026/12/02 03:35,GitHub Advisory Database 发布了“Terser: Input sourcemap sourcesContent leaks, revealing input source code”(类型:漏洞公告)。严重程度为“中危”(medium)。相关技术:JavaScript / Node.js。CVE:CVE-2026-140012。