ADVISORIES

Debian Security Tracker

DEBIAN-CVE-2026-71478

Details

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.

Affected packages

EcosystemPackageAffected versions
Debian:12php-league-commonmark
All versions, no fix listed
Debian:13php-league-commonmark
All versions, no fix listed
Debian:14php-league-commonmark
All versions before 2.9.0-1 (fixed in 2.9.0-1)

References