WS-2026-0056
Published:August 03, 2026
Updated:September 02, 2026
league/commonmark generated footnote backrefs in quadratic time when a document contained duplicate footnote definitions, so such a document can be abused for denial of service. Footnote labels were also treated as dot- and slash-delimited key paths when storing backrefs, letting distinct labels such as [^a.b] and [^a/b] share a single backref list. Fixed in 2.9.0, which keeps only the first definition of a footnote label and stores backrefs under a single key.
Affected Packages
https://github.com/thephpleague/commonmark.git (GITHUB):
Affected version(s) >=1.5.0 <2.9.0Fix Suggestion:
Update to version 2.9.0league/commonmark (PHP):
Affected version(s) >=1.5.0 <2.9.0Fix Suggestion:
Update to version 2.9.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
Weakness Type (CWE)
Inefficient Algorithmic Complexity