CVE-2026-71478

Medium

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.

SeverityMedium
CVSS6.1
Exploit probability—
ProductLeague/commonmark
PublishedAug 6, 2026
First seenAug 6, 2026

How to fix

Update
  • league/commonmark2.9.0 or later

Affected products

ProductAffected versionsFixed in
league/commonmarkPackagist1.5.0 ≤ v < 2.9.02.9.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-71478 · League/commonmark · Dark Radar