提交 #978621: beautifier js-beautify 1.15.1 Denial of Service信息

标题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

Do you want to use VulDB in your project?

Use the official API to access entries easily!