Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| thephpleague / commonmark | unaffected |
CWE
CWE-80
References
- https://github.com/thephpleague/commonmark/security/advisories/GHSA-97jj-33gv-5xf9
- https://www.vulncheck.com/advisories/league-commonmark-1.3.0-before-2.10.2-stored-xss-via-disallowedrawhtml-bypass
ADP enrichment
No English description supplied.