Live threats

All CVEs / thephpleague

CVE-2026-105829thephpleague commonmark

Medium 5.3 No auth needed

Priority
47
CVSS 4.0
5.3
EPSS
—
Auth required
No
Published
Oct 8, 2026
Updated
Nov 20, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-80
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for commonmark.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist league/commonmark ≥ 1.3.0 < 2.10.2 2.10.2 composer require "league/commonmark:^2.10.2"

Per OSV / GitHub Advisories (GHSA-97jj-33gv-5xf9). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.