CVE-2026-71478 league/commonmark: AttributesExtension href/src unsafe-link filter bypass via embedded control bytes
MediumCVSS 6.1
EPSS 0.36%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- PHPUbuntuDebian
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.
Upgrade path
13 packages: 2 fixed, 10 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/php-league-commonmark(Debian 12) | = 2.3.9-1; = 2.3.9-1+deb12u1; = 2.4.0-1; = 2.4.1-1 +23 more | No fix listed | No fix yet |
| debian/php-league-commonmark(Debian 13) | = 2.7.0-1; = 2.7.0-1+deb13u1; = 2.7.1-1; = 2.7.1-2 +11 more | No fix listed | No fix yet |
| ubuntu/commonmark(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/commonmark(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/commonmark(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/commonmark(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| ubuntu/markdown(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/markdown(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/markdown(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/markdown(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/php-league-commonmark(Debian 14) | < 2.9.0-1; = 2.7.0-1; = 2.7.1-1; = 2.7.1-2 +5 more | 2.9.0-1 | Fixed |
| league/commonmark(Packagist) | = 1.5.0; = 1.5.1; = 1.5.2; = 1.5.3 +63 more | 2.9.0 | Fixed |
| thephpleague commonmark | = >= 1.5.0, <= 2.8.3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| league/commonmark(Packagist) | >= 1.5.0, < 2.9.0 | 2.9.0 |
| league/commonmark(Packagist) | = 1.5.0 | No fix listed |
| league/commonmark(Packagist) | = 1.5.1 | No fix listed |
| league/commonmark(Packagist) | = 1.5.2 | No fix listed |
| league/commonmark(Packagist) | = 1.5.3 | No fix listed |
| league/commonmark(Packagist) | = 1.5.4 | No fix listed |
| league/commonmark(Packagist) | = 1.5.5 | No fix listed |
| league/commonmark(Packagist) | = 1.5.6 | No fix listed |
| league/commonmark(Packagist) | = 1.5.7 | No fix listed |
| league/commonmark(Packagist) | = 1.5.8 | No fix listed |
| league/commonmark(Packagist) | = 1.6.0 | No fix listed |
| league/commonmark(Packagist) | = 1.6.1 | No fix listed |
| league/commonmark(Packagist) | = 1.6.2 | No fix listed |
| league/commonmark(Packagist) | = 1.6.3 | No fix listed |
| league/commonmark(Packagist) | = 1.6.4 | No fix listed |
| league/commonmark(Packagist) | = 1.6.5 | No fix listed |
| league/commonmark(Packagist) | = 1.6.6 | No fix listed |
| league/commonmark(Packagist) | = 1.6.7 | No fix listed |
| league/commonmark(Packagist) | = 2.0.0 | No fix listed |
| league/commonmark(Packagist) | = 2.0.0-beta1 | No fix listed |
| league/commonmark(Packagist) | = 2.0.0-beta2 | No fix listed |
| league/commonmark(Packagist) | = 2.0.0-beta3 | No fix listed |
| league/commonmark(Packagist) | = 2.0.0-rc1 | No fix listed |
| league/commonmark(Packagist) | = 2.0.0-rc2 | No fix listed |
| league/commonmark(Packagist) | = 2.0.1 | No fix listed |
Show 102 more
| Product | Affected versions | Fixed in |
|---|---|---|
| league/commonmark(Packagist) | = 2.0.2 | No fix listed |
| league/commonmark(Packagist) | = 2.0.3 | No fix listed |
| league/commonmark(Packagist) | = 2.0.4 | No fix listed |
| league/commonmark(Packagist) | = 2.1.0 | No fix listed |
| league/commonmark(Packagist) | = 2.1.1 | No fix listed |
| league/commonmark(Packagist) | = 2.1.2 | No fix listed |
| league/commonmark(Packagist) | = 2.1.3 | No fix listed |
| league/commonmark(Packagist) | = 2.2.0 | No fix listed |
| league/commonmark(Packagist) | = 2.2.1 | No fix listed |
| league/commonmark(Packagist) | = 2.2.2 | No fix listed |
| league/commonmark(Packagist) | = 2.2.3 | No fix listed |
| league/commonmark(Packagist) | = 2.2.4 | No fix listed |
| league/commonmark(Packagist) | = 2.2.5 | No fix listed |
| league/commonmark(Packagist) | = 2.3.0 | No fix listed |
| league/commonmark(Packagist) | = 2.3.1 | No fix listed |
| league/commonmark(Packagist) | = 2.3.2 | No fix listed |
| league/commonmark(Packagist) | = 2.3.3 | No fix listed |
| league/commonmark(Packagist) | = 2.3.4 | No fix listed |
| league/commonmark(Packagist) | = 2.3.5 | No fix listed |
| league/commonmark(Packagist) | = 2.3.6 | No fix listed |
| league/commonmark(Packagist) | = 2.3.7 | No fix listed |
| league/commonmark(Packagist) | = 2.3.8 | No fix listed |
| league/commonmark(Packagist) | = 2.3.9 | No fix listed |
| league/commonmark(Packagist) | = 2.4.0 | No fix listed |
| league/commonmark(Packagist) | = 2.4.1 | No fix listed |
| league/commonmark(Packagist) | = 2.4.2 | No fix listed |
| league/commonmark(Packagist) | = 2.4.3 | No fix listed |
| league/commonmark(Packagist) | = 2.4.4 | No fix listed |
| league/commonmark(Packagist) | = 2.5.0 | No fix listed |
| league/commonmark(Packagist) | = 2.5.1 | No fix listed |
| league/commonmark(Packagist) | = 2.5.2 | No fix listed |
| league/commonmark(Packagist) | = 2.5.3 | No fix listed |
| league/commonmark(Packagist) | = 2.6.0 | No fix listed |
| league/commonmark(Packagist) | = 2.6.1 | No fix listed |
| league/commonmark(Packagist) | = 2.6.2 | No fix listed |
| league/commonmark(Packagist) | = 2.7.0 | No fix listed |
| league/commonmark(Packagist) | = 2.7.1 | No fix listed |
| league/commonmark(Packagist) | = 2.8.0 | No fix listed |
| league/commonmark(Packagist) | = 2.8.1 | No fix listed |
| league/commonmark(Packagist) | = 2.8.2 | No fix listed |
| league/commonmark(Packagist) | = 2.8.3 | No fix listed |
| debian/php-league-commonmark(Debian:12) | All versions | No fix listed |
| debian/php-league-commonmark(Debian:14) | < 2.9.0-1 | 2.9.0-1 |
| debian/php-league-commonmark(Debian:13) | All versions | No fix listed |
| thephpleague commonmark | = >= 1.5.0, <= 2.8.3 | No fix listed |
| league/commonmark(Packagist) | >= 1.5.0, <= 2.8.3 | No fix listed |
| debian/php-league-commonmark(Debian:12) | = 2.10.0-1 | No fix listed |
| debian/php-league-commonmark(Debian:12) | = 2.10.1-1 | No fix listed |
| debian/php-league-commonmark(Debian:12) | = 2.10.3-1 | No fix listed |
| debian/php-league-commonmark(Debian:12) | = 2.10.4-1 | No fix listed |
| debian/php-league-commonmark(Debian:12) | = 2.3.9-1 | No fix listed |
| debian/php-league-commonmark(Debian:12) | = 2.3.9-1+deb12u1 | No fix listed |
| debian/php-league-commonmark(Debian:12) | = 2.4.0-1 | No fix listed |
| debian/php-league-commonmark(Debian:12) | = 2.4.1-1 | No fix listed |
| debian/php-league-commonmark(Debian:12) | = 2.4.2-1 | No fix listed |
| debian/php-league-commonmark(Debian:12) | = 2.4.2-2 | No fix listed |
| debian/php-league-commonmark(Debian:12) | = 2.5.0-1 | No fix listed |
| debian/php-league-commonmark(Debian:12) | = 2.5.1-1 | No fix listed |
| debian/php-league-commonmark(Debian:12) | = 2.5.3-1 | No fix listed |
| debian/php-league-commonmark(Debian:12) | = 2.6.0-1 | No fix listed |
| debian/php-league-commonmark(Debian:12) | = 2.6.1-1 | No fix listed |
| debian/php-league-commonmark(Debian:12) | = 2.6.1-2 | No fix listed |
| debian/php-league-commonmark(Debian:12) | = 2.6.2-1 | No fix listed |
| debian/php-league-commonmark(Debian:12) | = 2.7.0-1 | No fix listed |
| debian/php-league-commonmark(Debian:12) | = 2.7.1-1 | No fix listed |
| debian/php-league-commonmark(Debian:12) | = 2.7.1-2 | No fix listed |
| debian/php-league-commonmark(Debian:12) | = 2.8.0-1 | No fix listed |
| debian/php-league-commonmark(Debian:12) | = 2.8.1-1 | No fix listed |
| debian/php-league-commonmark(Debian:12) | = 2.8.2-1 | No fix listed |
| debian/php-league-commonmark(Debian:12) | = 2.8.2-2 | No fix listed |
| debian/php-league-commonmark(Debian:12) | = 2.8.3-1 | No fix listed |
| debian/php-league-commonmark(Debian:12) | = 2.9.0-1 | No fix listed |
| debian/php-league-commonmark(Debian:13) | = 2.10.0-1 | No fix listed |
| debian/php-league-commonmark(Debian:13) | = 2.10.1-1 | No fix listed |
| debian/php-league-commonmark(Debian:13) | = 2.10.3-1 | No fix listed |
| debian/php-league-commonmark(Debian:13) | = 2.10.4-1 | No fix listed |
| debian/php-league-commonmark(Debian:13) | = 2.7.0-1 | No fix listed |
| debian/php-league-commonmark(Debian:13) | = 2.7.0-1+deb13u1 | No fix listed |
| debian/php-league-commonmark(Debian:13) | = 2.7.1-1 | No fix listed |
| debian/php-league-commonmark(Debian:13) | = 2.7.1-2 | No fix listed |
| debian/php-league-commonmark(Debian:13) | = 2.8.0-1 | No fix listed |
| debian/php-league-commonmark(Debian:13) | = 2.8.1-1 | No fix listed |
| debian/php-league-commonmark(Debian:13) | = 2.8.2-1 | No fix listed |
| debian/php-league-commonmark(Debian:13) | = 2.8.2-2 | No fix listed |
| debian/php-league-commonmark(Debian:13) | = 2.8.3-1 | No fix listed |
| debian/php-league-commonmark(Debian:13) | = 2.9.0-1 | No fix listed |
| debian/php-league-commonmark(Debian:14) | = 2.7.0-1 | No fix listed |
| debian/php-league-commonmark(Debian:14) | = 2.7.1-1 | No fix listed |
| debian/php-league-commonmark(Debian:14) | = 2.7.1-2 | No fix listed |
| debian/php-league-commonmark(Debian:14) | = 2.8.0-1 | No fix listed |
| debian/php-league-commonmark(Debian:14) | = 2.8.1-1 | No fix listed |
| debian/php-league-commonmark(Debian:14) | = 2.8.2-1 | No fix listed |
| debian/php-league-commonmark(Debian:14) | = 2.8.2-2 | No fix listed |
| debian/php-league-commonmark(Debian:14) | = 2.8.3-1 | No fix listed |
| ubuntu/commonmark(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/markdown(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/commonmark(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/markdown(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/commonmark(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/markdown(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/commonmark(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/markdown(Ubuntu:26.10) | All versions | No fix listed |
References
- https://github.com/thephpleague/commonmark/security/advisories/GHSA-29pj-957v-52mc exploit vendor-advisory
- https://github.com/thephpleague/commonmark/commit/493a5aa7d65754b73846006eaff9c2c4431a8e2c patch
- github.com product
- https://github.com/thephpleague/commonmark/releases/tag/2.9.0
- Debian Security Tracker CVE-2026-71478 vendor-advisory
- github.com
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- ENISA EUVD EUVD-2026-54261 third-party-advisory