cvelo
P3 · MediumCVSS 6.1EPSS 0.3%

League CommonMark 1.3.0 before 2.10.2 Stored XSS via DisallowedRawHtml Bypass

  • CVE-2026-105829
  • GHSA-6vmm-7pc2-g2g6
  • EUVD-2026-95016

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.

Text from the CVE.org record.

Recommendation

  • thephpleague commonmark

    • If you run a version from 1.3.0 to before 2.10.2update to 2.10.2 or laterMajor version change: expect breaking changes

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • thephpleague commonmark

    Affected versionsFixed in
    from 1.3.0 to before 2.10.22.10.2

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.