Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| thephpleague / commonmark | affected 2.0.0 before 2.8.4; unaffected 2.8.4 |
CWE
CWE-405
References
- https://github.com/thephpleague/commonmark/security/advisories/GHSA-mj63-m3rc-8ppr
- https://www.vulncheck.com/advisories/commonmark-2.0.0-before-2.8.4-denial-of-service-via-xml
ADP enrichment
No English description supplied.
No references supplied.