ADVISORIES

Vulnerability

CVE-2026-71478

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.

3 advisories report this vulnerability, across 3 ecosystems.

Medium severity All Debian 1Packagist 1Ubuntu 1

Advisories

  • DEBIAN-CVE-2026-71478

    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…

    CVE-2026-71478 Debian Updated 25 October 2026
  • GHSA-29pj-957v-52mc

    league/commonmark: AttributesExtension href/src unsafe-link filter bypass via embedded control bytes

    Moderate CVE-2026-71478 Packagist Updated 21 August 2026
  • UBUNTU-CVE-2026-71478

    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…

    CVE-2026-71478 Ubuntu Updated 17 October 2026

References