CVEfocus › CVE database › CVE-2026-71478

CVE-2026-71478league/commonmark: AttributesExtension href/src unsafe-link filter bypass via embedded…

CVSS 6.1 MediumEPSS 0.4% (higher than 22% of CVEs)Published 2026-08-06Updated 2026-08-07Assigner: GitHub_M

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.

CWE-692CWE-79CWE-86

What to do

Fixed builds are available from Debian, Packagist: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
7Fix pending
6Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10commonmarkFix pendingUBUNTU-CVE-2026-71478
Ubuntu 26.10markdownFix pendingUBUNTU-CVE-2026-71478
Ubuntu 26.04commonmarkUnder investigationUBUNTU-CVE-2026-71478
Ubuntu 26.04markdownUnder investigationUBUNTU-CVE-2026-71478
Ubuntu 24.04commonmarkUnder investigationUBUNTU-CVE-2026-71478
Ubuntu 24.04markdownUnder investigationUBUNTU-CVE-2026-71478
Ubuntu 22.04commonmarkUnder investigationUBUNTU-CVE-2026-71478
Ubuntu 22.04markdownUnder investigationUBUNTU-CVE-2026-71478
Ubuntu 20.04markdownFix pendingUBUNTU-CVE-2026-71478
Ubuntu 18.04markdownFix pendingUBUNTU-CVE-2026-71478
Ubuntu 16.04markdownFix pendingUBUNTU-CVE-2026-71478
Debian 14php-league-commonmarkFixed2.9.0-1DEBIAN-CVE-2026-71478
Debian 13php-league-commonmarkFix pendingDEBIAN-CVE-2026-71478
Debian 12php-league-commonmarkFix pendingDEBIAN-CVE-2026-71478
Packagist libraryleague/commonmarkFixed2.9.0GHSA-29pj-957v-52mc

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.