PT-2026-26486 · League+4 · Commonmark+5
Huajihd
·
Published
2026-01-01
·
Updated
2026-04-21
·
CVE-2026-33347
CVSS v4.0
6.3
Medium
| Vector | AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N |
Name of the Vulnerable Software and Affected Versions
league/commonmark versions 2.3.0 through 2.8.1
Description
The
DomainFilteringAdapter within the Embed extension is susceptible to an allowlist bypass because of a missing hostname boundary assertion in the domain-matching regular expression. A malicious domain, such as youtube.com.evil, can pass the allowlist check when youtube.com is a permitted domain. This allows for two potential attack vectors: Server-Side Request Forgery (SSRF) and Cross-Site Scripting (XSS). The OscaroteroEmbedAdapter makes server-side HTTP requests to the embed URL, and a bypassed domain filter could lead to requests to attacker-controlled hosts. The EmbedRenderer outputs the oEmbed response HTML directly into the page without sanitization, allowing an attacker controlling the bypassed domain to return arbitrary HTML/JavaScript.Recommendations
Update to version 2.8.2 or later.
Disable the Embed extension.
Provide a custom domain-filtering implementation of
EmbedAdapterInterface.
Enable a Content Security Policy (CSP) and outbound firewall restrictions.Exploit
Fix
XSS
SSRF
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Embed
Embedrenderer
Linuxmint
Oscaroteroembedadapter
Ubuntu
Commonmark