CVE 6.3 MEDIUM

league/commonmark has an embed extension allowed_domains bypass_CVE-2026-33347

6.3 / 10
MEDIUM
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

Description

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.

Basic Information

ID CVE-2026-33347
Source GitHub_M
Published Mar 24, 2026 at 19:26
Modified Mar 26, 2026 at 19:52

Affected Product

Vendor thephpleague
Product commonmark
Version >= 2.3.0, < 2.8.2
Affected Versions thephpleague commonmark >= 2.3.0, < 2.8.2

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.