Vulnerability

CVE-2026-33347

mediumCVSS 4.0 6.3Published 24 Mar 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Thephpleague commonmark

Weakness type

References

  • github.com /thephpleague/commonmark/commit/59fb075d2101740c337c7216e3f…
  • github.com /thephpleague/commonmark/releases/tag/2.8.2
  • github.com /thephpleague/commonmark/security/advisories/GHSA-hh8v-hgvp…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning