Intel

AIKIDO-2025-10804

@ts-graphviz/ast is vulnerable to Denial of Service (DoS)

Denial of Service (DoS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Nov 12, 2025

60

Medium Risk

This Affects:

JS@ts-graphviz/ast
2.0.0 - 3.0.4
Fixed in 3.0.5
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to denial-of-service (DoS) and potential code-injection risks through its DOT/AST parser. The updates replace vulnerable regex-based parsing and uncontrolled recursion with safer, iterative logic, hardening against crafted input that could cause stack overflows or exploit parsing behavior to execute undesirable actions.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

@ts-graphviz/ast is vulnerable to Denial of Service (DoS) in versions 2.0.0 - 3.0.4.

How to fix this

Upgrade the @ts-graphviz/ast library to the patch version.