Skip to main content
VulnerabilityPublished Updated

CVE-2026-105829: thephpleague commonmark · Basic XSS

Affects thephpleague commonmarkSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 5.3 Medium : upgrade to 2.10.2 when convenient.

Data as of 22 Nov 2026, 21:29 UTC

CVSS 4.0 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.05.3
CNA (VulnCheck)CVSS 3.16.1
EPSS
0.2% chance of exploitation in 30 days – higher than 16% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.10.2
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 8 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 22 Nov 2026.

What to do

Upgrade commonmark and thephpleague/commonmark to 2.10.2.

Affected software

ProductAffectedFixed in
thephpleaguecommonmarkAffected
  • >=1.3.0 <2.10.2
Fixed in
  • 2.10.2
Packagistthephpleague/commonmarkpkg:composer/thephpleague/commonmarkOther threatsAffected
  • >=1.3.0 <2.10.2
Fixed in
  • 2.10.2
Packagistcommonmarkpkg:composer/commonmarkOther threatsAffected
  • >=1.3.0 <2.10.2
Fixed in
  • 2.10.2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade to CommonMark version 2.10.2 or later, where this vulnerability is fixed. No other mitigation is indicated or required as the fix is officially released.

Description

A cross-site scripting (XSS) vulnerability exists in League CommonMark versions from 1.3.0 up to but not including 2.10.2. This flaw allows users posting Markdown to bypass the DisallowedRawHtml extension by ending raw HTML with a bare disallowed tag name, enabling injection of script or iframe elements that execute stored scripts in viewers' browsers under default GitHub Flavored Markdown (GFM) settings.

References

Community reviews

Loading reviews…