CVE-2026-71478
MEDIUMleague/commonmark: AttributesExtension href/src unsafe-link filter bypass via embedded control bytes
Title source: cnaDescription
league/commonmark is a PHP library for parsing and rendering CommonMark Markdown. From 1.5.0 until 2.9.0, the AttributesExtension's href and src unsafe-link filter can be bypassed by embedding control bytes, such as a tab, carriage return, line feed, or leading C0 control character, in a javascript: URL that browsers discard before parsing the scheme, causing the browser to still execute the script even when the unsafe-link filter is enabled. This issue is fixed in 2.9.0.
References (3)
Core 3
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/thephpleague/commonmark/security/advisories/GHSA-29pj-957v-52mc
X_Refsource_Misc x_refsource_misc
https://github.com/thephpleague/commonmark/commit/493a5aa7d65754b73846006eaff9c2c4431a8e2c
X_Refsource_Misc x_refsource_misc
https://github.com/thephpleague/commonmark/releases/tag/2.9.0
Scores
CVSS v3
6.1
EPSS
0.0020
EPSS Percentile
10.1%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-692
CWE-79
CWE-86
Status
published
Products (2)
league/commonmark
1.5.0 - 2.9.0Packagist
thephpleague/commonmark
>= 1.5.0, <= 2.8.3
Published
Aug 06, 2026
Tracked Since
Aug 07, 2026