Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
thephpleague commonmark
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

commonmark是The League of Extraordinary Packages开源的一个高度可扩展的PHP Markdown解析器,完全支持CommonMark和GFM规范。 commonmark 2.3.0至2.8.2之前版本存在代码问题漏洞,该漏洞源于Embed扩展中的DomainFilteringAdapter因域名匹配正则表达式缺少主机名边界断言而存在白名单绕过,可能导致攻击者控制的域名通过白名单检查。

AI Predicted 7.4 Difficulty: Easy EPSS 0.28% · P22
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-33347

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
league/commonmark has an embed extension allowed_domains bypass
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
commonmark 代码问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
commonmark是The League of Extraordinary Packages开源的一个高度可扩展的PHP Markdown解析器,完全支持CommonMark和GFM规范。 commonmark 2.3.0至2.8.2之前版本存在代码问题漏洞,该漏洞源于Embed扩展中的DomainFilteringAdapter因域名匹配正则表达式缺少主机名边界断言而存在白名单绕过,可能导致攻击者控制的域名通过白名单检查。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
thephpleague commonmark >= 2.3.0, < 2.8.2 -

II. Public POCs for CVE-2026-33347

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-33347

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-33347 (2)

Vendor Advisories for CVE-2026-33347 (1)

IV. Related Vulnerabilities