Submit #978621: beautifier js-beautify 1.15.1 Denial of Serviceinfo

Titlebeautifier js-beautify 1.15.1 Denial of Service
Descriptionjs-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).
Source⚠️ https://github.com/beautifier/js-beautify/issues/2522
User
 Anonymous User
Submission09/15/2026 00:13 (28 days ago)
Moderation10/12/2026 13:36 (28 days later)
StatusAccepted
VulDB entry416885 [beautifier js-beautify up to 1.15.1/2.0.3 memory allocation]
Points20

Interested in the pricing of exploits?

See the underground prices here!