Debian Package Tracker
Register | Log in
Subscribe

php-league-commonmark

Markdown parser based on the CommonMark JS reference implementation

Choose email to subscribe with

general
  • source: php-league-commonmark (main)
  • version: 2.10.0-1
  • maintainer: Debian PHP PEAR Maintainers (archive) (DMD)
  • uploaders: David Prévot [DMD]
  • arch: all
  • std-ver: 4.7.4
  • VCS: Git (Browse, QA)
versions [more versions can be listed by madison] [old versions available from snapshot.debian.org]
[pool directory]
  • o-o-stable: 1.5.7-2
  • oldstable: 2.3.9-1+deb12u1
  • stable: 2.7.0-1+deb13u1
  • testing: 2.9.0-1
  • unstable: 2.10.0-1
versioned links
  • 1.5.7-2: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 2.3.9-1+deb12u1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 2.7.0-1+deb13u1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 2.9.0-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 2.10.0-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
binaries
  • php-league-commonmark
action needed
2 security issues in trixie high

There are 2 open security issues in trixie.

2 important issues:
  • 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.
  • CVE-2026-71488: league/commonmark is a PHP library for parsing and rendering CommonMark Markdown. From 0.6.0 until 2.9.0, specially crafted Markdown lines can cause the parser to have quadratic time complexity when converting, because several parsing paths repeatedly rescan growing portions of a line to translate between character positions and byte positions, and the Autolink extension can also copy and validate the remaining line at every URL-like prefix, allowing an attacker who can submit Markdown for conversion to consume disproportionate CPU time with a comparatively small request. This issue is fixed in 2.9.0.
Created: 2026-08-11 Last update: 2026-08-13 13:00
5 security issues in bullseye high

There are 5 open security issues in bullseye.

2 important issues:
  • 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.
  • CVE-2026-71488: league/commonmark is a PHP library for parsing and rendering CommonMark Markdown. From 0.6.0 until 2.9.0, specially crafted Markdown lines can cause the parser to have quadratic time complexity when converting, because several parsing paths repeatedly rescan growing portions of a line to translate between character positions and byte positions, and the Autolink extension can also copy and validate the remaining line at every URL-like prefix, allowing an attacker who can submit Markdown for conversion to consume disproportionate CPU time with a comparatively small request. This issue is fixed in 2.9.0.
2 issues postponed or untriaged:
  • CVE-2026-30838: (postponed; to be fixed through a stable update) league/commonmark is a PHP Markdown parser. Prior to version 2.8.1, the DisallowedRawHtml extension can be bypassed by inserting a newline, tab, or other ASCII whitespace character between a disallowed HTML tag name and the closing >. For example, <script\n> would pass through unfiltered and be rendered as a valid HTML tag by browsers. This is a cross-site scripting (XSS) vector for any application that relies on this extension to sanitize untrusted user input. All applications using the DisallowedRawHtml extension to process untrusted markdown are affected. Applications that use a dedicated HTML sanitizer (such as HTML Purifier) on the rendered output are not affected. This issue has been patched in version 2.8.1.
  • CVE-2026-33347: (postponed; to be fixed through a stable update) league/commonmark is a PHP Markdown parser. From version 2.3.0 to before version 2.8.2, the DomainFilteringAdapter in the Embed extension is vulnerable to an allowlist bypass due to a missing hostname boundary assertion in the domain-matching regex. An attacker-controlled domain like youtube.com.evil passes the allowlist check when youtube.com is an allowed domain. This issue has been patched in version 2.8.2.
1 ignored issue:
  • CVE-2025-46734: league/commonmark is a PHP Markdown parser. A cross-site scripting (XSS) vulnerability in the Attributes extension of the league/commonmark library (versions 1.5.0 through 2.6.x) allows remote attackers to insert malicious JavaScript calls into HTML. The league/commonmark library provides configuration options such as `html_input: 'strip'` and `allow_unsafe_links: false` to mitigate cross-site scripting (XSS) attacks by stripping raw HTML and disallowing unsafe links. However, when the Attributes Extension is enabled, it introduces a way for users to inject arbitrary HTML attributes into elements via Markdown syntax using curly braces. Version 2.7.0 contains three changes to prevent this XSS attack vector: All attributes starting with `on` are considered unsafe and blocked by default; support for an explicit allowlist of allowed HTML attributes; and manually-added `href` and `src` attributes now respect the existing `allow_unsafe_links` configuration option. If upgrading is not feasible, please consider disabling the `AttributesExtension` for untrusted users and/or filtering the rendered HTML through a library like HTMLPurifier.
Created: 2026-08-11 Last update: 2026-08-13 13:00
2 security issues in bookworm high

There are 2 open security issues in bookworm.

2 important issues:
  • 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.
  • CVE-2026-71488: league/commonmark is a PHP library for parsing and rendering CommonMark Markdown. From 0.6.0 until 2.9.0, specially crafted Markdown lines can cause the parser to have quadratic time complexity when converting, because several parsing paths repeatedly rescan growing portions of a line to translate between character positions and byte positions, and the Autolink extension can also copy and validate the remaining line at every URL-like prefix, allowing an attacker who can submit Markdown for conversion to consume disproportionate CPU time with a comparatively small request. This issue is fixed in 2.9.0.
Created: 2026-08-11 Last update: 2026-08-13 13:00
testing migrations
  • excuses:
    • Migration status for php-league-commonmark (2.9.0-1 to 2.10.0-1): Waiting for test results or another package, or too young (no action required now - check later)
    • Issues preventing migration:
    • ∙ ∙ Autopkgtest for php-laravel-framework/11.46.1+dfsg-4: amd64: No tests, superficial or marked flaky ♻, arm64: No tests, superficial or marked flaky ♻, armhf: No tests, superficial or marked flaky ♻ (reference ♻), i386: No tests, superficial or marked flaky ♻, ppc64el: No tests, superficial or marked flaky ♻ (reference ♻), s390x: Test triggered
    • ∙ ∙ Autopkgtest for php-league-commonmark/2.10.0-1: amd64: Pass, arm64: Pass, armhf: Pass, i386: Pass, ppc64el: Pass, s390x: Test triggered
    • ∙ ∙ Autopkgtest for php-tempest-highlight/2.27.0-1: amd64: Pass, arm64: Pass, armhf: Pass, i386: Pass, ppc64el: Pass, s390x: Test triggered
    • ∙ ∙ Autopkgtest for php-twig/3.28.0-1: amd64: Pass, arm64: Pass, armhf: Pass, i386: Pass, ppc64el: Pass, s390x: Test triggered
    • ∙ ∙ Too young, only 1 of 5 days old
    • Additional info (not blocking):
    • ∙ ∙ Piuparts tested OK - https://piuparts.debian.org/sid/source/p/php-league-commonmark.html
    • ∙ ∙ Reproduced on amd64 - info
    • ∙ ∙ Reproduced on arm64 - info
    • ∙ ∙ Reproduced on armhf - info
    • ∙ ∙ Reproduced on i386 - info
    • Not considered
news
[rss feed]
  • [2026-08-13] Accepted php-league-commonmark 2.10.0-1 (source) into unstable (David Prévot)
  • [2026-08-08] php-league-commonmark 2.9.0-1 MIGRATED to testing (Debian testing watch)
  • [2026-08-05] Accepted php-league-commonmark 2.9.0-1 (source) into unstable (David Prévot)
  • [2026-07-17] php-league-commonmark 2.8.3-1 MIGRATED to testing (Debian testing watch)
  • [2026-07-14] Accepted php-league-commonmark 2.8.3-1 (source) into unstable (David Prévot)
  • [2026-05-28] php-league-commonmark 2.8.2-2 MIGRATED to testing (Debian testing watch)
  • [2026-05-11] php-league-commonmark REMOVED from testing (Debian testing watch)
  • [2026-05-07] Accepted php-league-commonmark 2.8.2-2 (source) into unstable (David Prévot)
  • [2026-05-02] Accepted php-league-commonmark 2.3.9-1+deb12u1 (source) into oldstable-proposed-updates (Debian FTP Masters) (signed by: David Prévot)
  • [2026-04-06] Accepted php-league-commonmark 2.7.0-1+deb13u1 (source) into proposed-updates (Debian FTP Masters) (signed by: David Prévot)
  • [2026-03-26] php-league-commonmark 2.8.2-1 MIGRATED to testing (Debian testing watch)
  • [2026-03-23] Accepted php-league-commonmark 2.8.2-1 (source) into unstable (David Prévot)
  • [2026-03-08] php-league-commonmark 2.8.1-1 MIGRATED to testing (Debian testing watch)
  • [2026-03-06] Accepted php-league-commonmark 2.8.1-1 (source) into unstable (David Prévot)
  • [2025-12-04] php-league-commonmark 2.8.0-1 MIGRATED to testing (Debian testing watch)
  • [2025-12-02] Accepted php-league-commonmark 2.8.0-1 (source) into unstable (David Prévot)
  • [2025-08-29] php-league-commonmark 2.7.1-2 MIGRATED to testing (Debian testing watch)
  • [2025-08-27] Accepted php-league-commonmark 2.7.1-2 (source) into unstable (David Prévot)
  • [2025-07-23] Accepted php-league-commonmark 2.7.1-1 (source) into experimental (David Prévot)
  • [2025-05-15] php-league-commonmark 2.7.0-1 MIGRATED to testing (Debian testing watch)
  • [2025-05-08] Accepted php-league-commonmark 2.7.0-1 (source) into unstable (David Prévot)
  • [2025-05-02] php-league-commonmark 2.6.2-1 MIGRATED to testing (Debian testing watch)
  • [2025-04-22] Accepted php-league-commonmark 2.6.2-1 (source) into unstable (David Prévot)
  • [2025-03-02] php-league-commonmark 2.6.1-2 MIGRATED to testing (Debian testing watch)
  • [2025-02-24] Accepted php-league-commonmark 2.6.1-2 (source) into unstable (David Prévot)
  • [2025-01-01] php-league-commonmark 2.6.1-1 MIGRATED to testing (Debian testing watch)
  • [2024-12-30] Accepted php-league-commonmark 2.6.1-1 (source) into unstable (David Prévot)
  • [2024-12-28] php-league-commonmark 2.6.0-1 MIGRATED to testing (Debian testing watch)
  • [2024-12-26] Accepted php-league-commonmark 2.6.0-1 (source) into unstable (David Prévot)
  • [2024-08-20] php-league-commonmark 2.5.3-1 MIGRATED to testing (Debian testing watch)
  • 1
  • 2
bugs [bug history graph]
  • all: 0
links
  • homepage
  • lintian
  • buildd: logs, reproducibility
  • popcon
  • browse source code
  • other distros
  • security tracker
  • debian patches
  • debci
ubuntu Ubuntu logo [Information about Ubuntu for Debian Developers]
  • version: 2.8.3-1

Debian Package Tracker — Copyright 2013-2025 The Distro Tracker Developers
Report problems to the tracker.debian.org pseudo-package in the Debian BTS.
Documentation — Bugs — Git Repository — Contributing