3 matches found
EUVD-2026-72390
commonmark versions from 2.0.0 before 2.8.4 contain a denial of service vulnerability in XmlRenderer that emits depth-proportional indentation for every XML tag. Attackers can provide deeply nested Markdown or AST structures to cause quadratic memory consumption and output amplification, exhausti...
GHSA-MJ63-M3RC-8PPR league/commonmark: Denial of service via deeply nested XML output
Impact XmlRenderer pretty-prints XML by emitting depth-proportional indentation whitespace for every opening and closing tag. For a tree of depth n, the indentation alone sums to On² bytes of output and corresponding memory, reachable through MarkdownToXmlConverter — e.g. strrepeat' ', $depth...
league/commonmark: Denial of service via deeply nested XML output
Impact XmlRenderer pretty-prints XML by emitting depth-proportional indentation whitespace for every opening and closing tag. For a tree of depth n, the indentation alone sums to On² bytes of output and corresponding memory, reachable through MarkdownToXmlConverter — e.g. strrepeat' ', $depth...