CVE-2026-86432
6.9
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| thephpleague | commonmark | 2.0.0 < 2.8.4 | affected |
| thephpleague | commonmark | 2.8.4 | unaffected |
Weaknesses
- CWE-405: Asymmetric Resource Consumption (Amplification)
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
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.