ADVISORIES

Vulnerability

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 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.

4 advisories report this vulnerability, across 3 ecosystems.

Medium severity All Ubuntu 2Debian 1Packagist 1

Advisories

  • DEBIAN-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 boundary assertion…

    CVE-2026-33347 Debian Updated 1 October 2026
  • GHSA-hh8v-hgvp-g3f5

    league/commonmark has an embed extension allowed_domains bypass

    Moderate CVE-2026-33347 Packagist Updated 27 March 2026
  • UBUNTU-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 boundary assertion…

    CVE-2026-33347 Ubuntu Updated 17 October 2026
  • USN-8194-1

    php-league-commonmark vulnerabilities

    CVE-2025-46734CVE-2026-30838CVE-2026-33347 Ubuntu Updated 27 April 2026

References