CVE-2026-71478

MEDIUM

league/commonmark: AttributesExtension href/src unsafe-link filter bypass via embedded control bytes

Title source: cna
STIX 2.1

Description

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.

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