Live threats

All CVEs / Thephpleague

CVE-2026-33347Thephpleague Commonmark

Medium 6.3 No auth needed

Priority
53
CVSS 4.0
6.3
EPSS
—
Auth required
No
Published
Mar 24, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79, CWE-185, CWE-918
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Commonmark.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist league/commonmark ≥ 2.3.0 < 2.8.2 2.8.2 composer require "league/commonmark:^2.8.2"

Per OSV / GitHub Advisories (GHSA-hh8v-hgvp-g3f5). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
thephpleaguecommonmark≥ 2.3.0 < 2.8.2

Official sources

References

Links published by the sources. Open them with care.