@ts-graphviz/ast is vulnerable to Denial of Service (DoS)
35
Low Risk
Affected versions of this package are vulnerable to denial-of-service (DoS) attacks due to stack overflow vulnerabilities in both the edge chain parser and HTML string parser. Maliciously crafted DOT files with deeply nested edge chains or HTML-like structures could trigger excessive recursion, leading to application crashes or memory exhaustion. The fix introduces configurable depth limits (maxEdgeChainDepth and maxHtmlNestingDepth) to restrict parsing depth and prevent stack overflow while maintaining backward compatibility for normal use cases.
You are affected if you are using a version that falls within the vulnerable range.
@ts-graphviz/ast is vulnerable to Denial of Service (DoS) in versions 0.0.1 - 3.0.3.
Upgrade the @ts-graphviz/ast library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant