ADVISORIES

Debian Security Tracker

DEBIAN-CVE-2026-33347

Details

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.

Affected packages

EcosystemPackageAffected versions
Debian:12php-league-commonmark
All versions before 2.3.9-1+deb12u1 (fixed in 2.3.9-1+deb12u1)
Debian:13php-league-commonmark
All versions before 2.7.0-1+deb13u1 (fixed in 2.7.0-1+deb13u1)
Debian:14php-league-commonmark
All versions before 2.8.2-1 (fixed in 2.8.2-1)

References