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_app をフォロー2026/12/02 03:35、GitHub Advisory Databaseが「Terser: Input sourcemap sourcesContent leaks, revealing input source code」を公開しました (種別: 脆弱性アドバイザリ)。重大度は「警告」(medium) です。関連する技術: JavaScript / Node.js。CVE: CVE-2026-140012。