league/commonmark: DisallowedRawHtml extension bypass via whitespace in HTML tag names
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| thephpleague | commonmark | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Thephpleague | Commonmark |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-4v6x-c7xx-hw9f | CommonMark has DisallowedRawHtml extension bypass via whitespace in HTML tag names |
Ubuntu USN |
USN-8194-1 | league/commonmark vulnerabilities |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.245% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:2.3:a:thephpleague:commonmark:*:*:*:*:*:*:*:* | |
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Thephpleague
Thephpleague commonmark |
|
| Vendors & Products |
Thephpleague
Thephpleague commonmark |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | league/commonmark: DisallowedRawHtml extension bypass via whitespace in HTML tag names | |
| Weaknesses | CWE-79 | |
| References |
| |
| Metrics |
cvssV4_0
|