A plain-language summary of this CVE is being written; the description below is the NVD's own text.
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.
Affected products
From the NVD's configuration data (CPE), vendor first.
- Thephpleague commonmark
Weakness type
References
- github.com /thephpleague/commonmark/security/advisories/GHSA-4v6x-c7xx…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning