Skip to content
CVE PROGRAM SOURCE RECORD5.3 Medium

CVE-2026-105829

League CommonMark 1.3.0 before 2.10.2 Stored XSS via DisallowedRawHtml Bypass

Description

League CommonMark from 1.3.0 before 2.10.2 contains a cross-site scripting vulnerability that allows users posting Markdown to bypass the DisallowedRawHtml extension by ending raw HTML with a bare disallowed tag name. Attackers can place a lone <script or <iframe line followed by a block supplying attributes like src or onload, executing stored scripts in viewers' browsers under default GFM settings.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

thephpleague commonmark

Default version status: unaffected

pkg:composer/league/commonmark

References