WS-2026-0050
Published:August 11, 2026
Updated:September 02, 2026
league/commonmark's AttributesExtension re-merged and re-filtered every attribute a node had already collected each time another attribute node was applied to it, and re-merged the whole set on each continuation line of an attribute block. Long runs of distinctly-named attributes were therefore resolved in quadratic time, which can be abused for denial of service. This completes the fix for GHSA-jjv6-8j6v-6j52, which covered only the class attribute; 2.9.1 and 2.9.2 carry that partial fix and remain vulnerable. Fixed in 2.10.0 by accumulating attributes incrementally instead of re-merging.
Affected Packages
https://github.com/thephpleague/commonmark.git (GITHUB):
Affected version(s) >=1.5.0 <2.10.0Fix Suggestion:
Update to version 2.10.0league/commonmark (PHP):
Affected version(s) >=1.5.0 <2.10.0Fix Suggestion:
Update to version 2.10.0Related Resources (2)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH