Skip to main content
← All vulnerabilities
CVE-2026-105829GHSA-97JJ-33GV-5XF9

League CommonMark 1.3.0 before 2.10.2 Stored XSS via DisallowedRawHtml Bypass

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.10.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • thephpleague commonmark

    Version range not reported

  • league/commonmarkPackagist

    From 1.3.0 · fixed in 2.10.2

References 2

GitHub · thephpleague/commonmark

vulncheck.com