CVE-2026-71478

MEDIUM CVSS 3.1: 6.1 EPSS 0.20%
Updated Aug 07, 2026
PHP
Parameter Value
CVSS 6.1 (MEDIUM)
Fixed In 2.9.0
Type CWE-86, CWE-79 (Cross-Site Scripting (XSS)), CWE-692
Vendor PHP
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v3.1

Vulnerable Products

thephpleague:commonmark