VDB

CVE-2026-33347

CVE-2026-33347 PUBLISHED CVSS 6.3 MEDIUM

league/commonmark has an embed extension allowed_domains bypass

Reported by github_m · Published March 24, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
commonmarkthephpleague2.8.2

Risk scores

CVSS 4.0
6.3
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

Affected products

VendorProductVersions
thephpleaguecommonmark>= 2.3.0, < 2.8.2
thephpleaguecommonmark2.3.0
leaguecommonmark2.3.0

Timeline

  • Mar 19, 2026 CVE Published
  • Mar 20, 2026 Security Advisory
  • Mar 24, 2026 PoC Published
  • Mar 25, 2026 EPSS Score (30 in total, the first dated here)
  • Mar 26, 2026 CVE Updated
  • May 26, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-33347
vulnetix vdb fixes CVE-2026-33347

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-33347/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›