| 标题 | beautifier js-beautify 1.15.1 Denial of Service |
|---|
| 描述 | js-beautify (beautifier) up to 1.15.1 is vulnerable to memory exhaustion via deeply nested indent structures (CWE-789). A 16 KB input with deeply nested brackets causes O(n^2) output growth and real memory exhaustion: measured at 16 KB input producing 3 GB+ RSS, 64 KB input triggering OOM kill. Affects both the npm package and the pip package (jsbeautifier). Used in VS Code and widely across JavaScript and CSS build toolchains. An attacker who can supply input to a beautification pipeline can cause denial of service. CVSS 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H). |
|---|
| 来源 | ⚠️ https://github.com/beautifier/js-beautify/issues/2522 |
|---|
| 用户 | Anonymous User |
|---|
| 提交 | 2026-09-15 00時13分 (30 日前) |
|---|
| 管理 | 2026-10-12 13時36分 (28 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 416885 [beautifier js-beautify 直到 1.15.1/2.0.3 拒绝服务] |
|---|
| 积分 | 20 |
|---|