commonmark versions from 1.5.0 before 2.10.0 contain a denial of service vulnerability in the AttributesExtension when processing distinctly-named attributes. Attackers can submit Markdown with numerous distinct attribute names to cause quadratic-time attribute merging and filtering, consuming disproportionate CPU resources and preventing legitimate requests from completing.
Fix
Patch, vendor advisory and mitigation references on NVD 1
- https://github.com/thephpleague/commonmark/security/advisories/GHSA-8rr7-cvq3-gmfh Mitigation, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 8.7 · thephpleagueNVD modified 2026-10-08 16:17
Affected (CPE criteria) 1
cpe:2.3:a:thephpleague:commonmark:*:*:*:*:*:*:*:*
References 2
- https://github.com/thephpleague/commonmark/security/advisories/GHSA-8rr7-cvq3-gmfh Mitigation, Vendor Advisory
- https://www.vulncheck.com/advisories/commonmark-1.5.0-before-2.10.0-denial-of-service-via-attributes Third Party Advisory