CVE-2026-30838

php-league-commonmark: league/commonmark is a PHP Markdown parser

CVE-2026-30838 is fixed in php-league-commonmark on 1 platform, first by DEBIAN-CVE-2026-30838, released March 7, 2026. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
6.1
medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0025
15th percentile

league/commonmark is a PHP Markdown parser. Prior to version 2.8.1, the DisallowedRawHtml extension can be bypassed by inserting a newline, tab, or other ASCII whitespace character between a disallowed HTML tag name and the closing >. For example, <script\n> would pass through unfiltered and be rendered as a valid HTML tag by browsers. This is a cross-site scripting (XSS) vector for any application that relies on this extension to sanitize untrusted user input. All applications using the DisallowedRawHtml extension to process untrusted markdown are affected. Applications that use a dedicated HTML sanitizer (such as HTML Purifier) on the rendered output are not affected. This issue has been patched in version 2.8.1.

Where it's fixed

ProductFixed inFixReleased
Linux
php-league-commonmark · Debian 12.15 (bookworm) 2.3.9-1+deb12u1 DEBIAN-CVE-2026-30838 Mar 7, 2026
php-league-commonmark · Debian 13.5 (trixie) 2.7.0-1+deb13u1 DEBIAN-CVE-2026-30838 Mar 7, 2026
php-league-commonmark · Debian 14 2.8.1-1 DEBIAN-CVE-2026-30838 Mar 7, 2026
php-league-commonmark · Ubuntu 20.04 LTS (focal) 1.3.1-1ubuntu2+esm1 php-league-commonmark 1.3.1-1ubuntu2+esm1 Mar 24, 2026
php-league-commonmark · Ubuntu 22.04.1 LTS (jammy) 1.6.7-1ubuntu0.1~esm1 php-league-commonmark 1.6.7-1ubuntu0.1~esm1 Mar 24, 2026
php-league-commonmark · Ubuntu 24.04.5 LTS (noble) 2.4.2-2ubuntu0.1~esm1 php-league-commonmark 2.4.2-2ubuntu0.1~esm1 Mar 24, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.