Ubuntu CVE Tracker
UBUNTU-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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:16.04:LTS | markdown | All versions, no fix listed |
| Ubuntu:18.04:LTS | markdown | All versions, no fix listed |
| Ubuntu:20.04:LTS | markdown | All versions, no fix listed |
| Ubuntu:22.04:LTS | commonmark | All versions, no fix listed |
| Ubuntu:22.04:LTS | markdown | All versions, no fix listed |
| Ubuntu:24.04:LTS | commonmark | All versions, no fix listed |
| Ubuntu:24.04:LTS | markdown | All versions, no fix listed |
| Ubuntu:26.10 | commonmark | All versions, no fix listed |
| Ubuntu:26.10 | markdown | All versions, no fix listed |
| Ubuntu:26.04:LTS | commonmark | All versions, no fix listed |
| Ubuntu:26.04:LTS | markdown | All versions, no fix listed |
References
- https://ubuntu.com/security/CVE-2026-71478
- https://www.cve.org/CVERecord?id=CVE-2026-71478
- https://github.com/thephpleague/commonmark/commit/493a5aa7d65754b73846006eaff9c2c4431a8e2c
- https://github.com/thephpleague/commonmark/releases/tag/2.9.0
- https://github.com/thephpleague/commonmark/security/advisories/GHSA-29pj-957v-52mc