← 취약점·업데이트

보통취약점 권고JavaScript / Node.js

Terser: Input sourcemap sourcesContent leaks, revealing input source code

영향

패키지영향받는 버전수정 버전
npm:terser< 4.8.24.8.2
npm:terser>= 5.0.0, < 5.51.35.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…

GitHub Advisory Database에서 읽기

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.