commonmark 2.0.0 before 2.8.4 Denial of Service via XML
thephpleague commonmark
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| thephpleague commonmark |
|
|
Original description
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, exhausting server resources.
From the CVE record · VulnCheck