Ubuntu CVE Tracker
UBUNTU-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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:20.04:LTS | php-league-commonmark | All versions before 1.3.1-1ubuntu2+esm1 (fixed in 1.3.1-1ubuntu2+esm1) |
| Ubuntu:Pro:22.04:LTS | php-league-commonmark | All versions before 1.6.7-1ubuntu0.1~esm1 (fixed in 1.6.7-1ubuntu0.1~esm1) |
| Ubuntu:Pro:24.04:LTS | php-league-commonmark | All versions before 2.4.2-2ubuntu0.1~esm1 (fixed in 2.4.2-2ubuntu0.1~esm1) |
| Ubuntu:25.10 | php-league-commonmark | All versions, no fix listed |
| Ubuntu:26.10 | php-league-commonmark | All versions, no fix listed |
| Ubuntu:26.04:LTS | php-league-commonmark | All versions, no fix listed |
References
- https://ubuntu.com/security/CVE-2026-33347
- https://www.cve.org/CVERecord?id=CVE-2026-33347
- https://github.com/thephpleague/commonmark/security/advisories/GHSA-hh8v-hgvp-g3f5
- https://github.com/thephpleague/commonmark/commit/59fb075d2101740c337c7216e3f32b36c204218b
- https://github.com/thephpleague/commonmark/releases/tag/2.8.2
- https://ubuntu.com/security/notices/USN-8194-1