What’s Vulnerable › Vulnerabilities

CVE-2026-86432: commonmark 2.0.0 before 2.8.4 Denial of Service via XML

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.

Affected products

How to fix

Upgrade to a fixed version: thephpleague commonmark 2.8.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-86432 or the next vulnerability affects your stack