Skip to content
CVE PROGRAM SOURCE RECORD6.9 Medium

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

thephpleague commonmark

Default version status: unaffected

  • 2.0.0 to < 2.8.4affected
  • 2.8.4unaffected
pkg:composer/league/commonmark

References