GHSA-mf74-q2p6-h22qMediumCVSS 3.7
league/commonmark 2.6.0 before 2.10.8 contains a denial of service vulnerability in...
🔗 CVE IDs covered (1)
📋 Description
league/commonmark 2.6.0 before 2.10.8 contains a denial of service vulnerability in DelimiterStack::push() that miscounts delimiter runs against the max_delimiters_per_line budget. Attackers submitting Markdown with two long emphasis character runs can produce deeply nested strong elements, causing quadratic rendering time and CPU exhaustion.
🔗 References (7)
- https://github.com/thephpleague/commonmark/security/advisories/GHSA-h4px-59g8-q37c
- https://nvd.nist.gov/vuln/detail/CVE-2026-136615
- https://github.com/thephpleague/commonmark/commit/eb208506ff62b871d14bf5b086ae83405e23190e
- https://github.com/thephpleague/commonmark/blob/2.10.7/src/Delimiter/DelimiterStack.php#L57-L61
- https://github.com/thephpleague/commonmark/releases/tag/2.10.8
- https://www.vulncheck.com/advisories/league-commonmark-2.6.0-before-2.10.8-denial-of-service-via-max-delimiters-per-line-bypass
- https://github.com/advisories/GHSA-mf74-q2p6-h22q