CVE catalog

CVE-2026-33347

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

[CVE catalog]

Severity
Medium · CVSS 6.3
Published
Source
[NVD] · [CVE record]
EPSS
0.25% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianphp-league-commonmarksid2.10.4-1fixed
Debianphp-league-commonmarkforky2.10.4-1fixed
Debianphp-league-commonmarktrixie2.7.0-1+deb13u1fixed
Debianphp-league-commonmarkbookworm2.3.9-1+deb12u1fixed
Composerleague/commonmarkNot reported2.8.2fixed
Cpephp-league-commonmarkNot reportedNot reportedvulnerable
Cpephp-league-commonmarkNot reported2.4.2-2ubuntu0.1~esm1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianphp-league-commonmarksourcesid2.8.2-1not yet assignedNot reportedNot reported
Debianphp-league-commonmarksourceforky2.8.2-1not yet assignedNot reportedNot reported
Debianphp-league-commonmarksourcetrixie2.7.0-1+deb13u1not yet assignedNot reportedNot reported
Debianphp-league-commonmarksourcebookworm2.3.9-1+deb12u1not yet assignedNot reportedNot reported
Composerleague/commonmarkcomposerNot reported2.8.2Not reportedNot reportedNot reported
Cpephp-league-commonmarkcpeNot reported2.4.2-2ubuntu0.1~esm1Not reportedNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Details (2)
    • 2.3.9-1+deb12u1 · all · bookworm

      Fixed · Fixed: 2.3.9-1+deb12u1

      nvd · php-league-commonmark · debian · bookworm; nvd · php-league-commonmark · debian · 12

    • 2.3.9-1+deb12u1 · all · bookworm

      Fixed · Fixed: 2.3.9-1+deb12u1

      nvd · php-league-commonmark · debian · bookworm; nvd · php-league-commonmark · debian · 12

[Debian 13 (Trixie)]

  • Details (2)
    • 2.7.0-1+deb13u1 · all · trixie

      Fixed · Fixed: 2.7.0-1+deb13u1

      nvd · php-league-commonmark · debian · 13

    • 2.7.0-1+deb13u1 · all · trixie

      Fixed · Fixed: 2.7.0-1+deb13u1

      nvd · php-league-commonmark · debian · 13

Observed:

References