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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-185",
"CWE-79",
"CWE-918"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33347.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "2.3.0"
},
{
"fixed": "2.8.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "59fb075d2101740c337c7216e3f32b36c204218b"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "2.8.2",
"range": [
{
"fixed": "59fb075d2101740c337c7216e3f32b36c204218b"
}
],
"source": "REFERENCES_TAG"
},
{
"cpe": "cpe:2.3:a:thephpleague:commonmark:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.3.0"
},
{
"fixed": "2.8.2"
}
],
"source": "CPE_RANGE"
}
]
}