CVE-2026-33347 MEDIUM

CVE-2026-33347: league/commonmark has an embed extension allowed_domains bypass

Vendor Thephpleague
Product commonmark
Weakness CWE-79 · XSS
Published March 24, 2026
Last update March 26, 2026

CVSS base score

6.3/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality
Integrity

CVSS vector

CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

March 24, 2026 CVE published
March 26, 2026 Record updated

Related vulnerabilities

04Related CVE