CVE-2026-33347
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.
Description as published by the source, in English.
Key facts
- Published
- 2026-03-24
- Last modified
- 2026-06-17
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
0.2 %
higher than 15 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| league | commonmark (Packagist) | ≥ 2.3.0, < 2.8.2 | Affected |
| Thephpleague | Commonmark | ≥ 2.3.0, < 2.8.2 | Affected |
Weakness type
-
CWE-185: Incorrect Regular Expression
The product specifies a regular expression in a way that causes data to be improperly matched or compared.
-
CWE-79: Improper Neutralization of Input During Web Page Generation
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
-
CWE-918: Server-Side Request Forgery
The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.
References
- https://github.com/thephpleague/commonmark/commit/59fb075d2101740c337c7216e3f32b36c204218b
- https://github.com/thephpleague/commonmark/releases/tag/2.8.2
- https://github.com/thephpleague/commonmark/security/advisories/GHSA-hh8v-hgvp-g3f5
Related at Berigo
Articles
-
Three of WatchGuard's 27 new flaws can be exploited without logging in
Same product
2026-09-01
WatchGuard has disclosed 27 vulnerabilities in Fireware OS and Dimension, five of them critical. Three can give code execution without authentication…
-
Shared Claude conversations turned up in Google search
Same product
2026-08-18
On 27 July 2026 404 Media reported that shared Claude conversations and artifacts appeared in Google search results. The findings included medical re…
-
Attackers are logging in to Macs without a password through Screen Sharing
Same product
2026-08-15
Apple shipped an emergency fix for macOS Screen Sharing after a flaw that lets an attacker on the network log in without valid credentials. The Dutch…
-
Hidden instructions in Word make Copilot alter and spread documents
Same product
2026-07-31
Researcher Håkon Måløy published an attack chain against Copilot for Word on 28 July 2026. Hidden instructions in an ordinary document make Copilot a…
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.