Vulnerability record · CVE-2018-20583 · published 30 December 2018
CVE-2018-20583: Thephpleague commonmark cross-site scripting vulnerability
Thephpleague · Commonmark
Cross-site scripting (XSS) vulnerability in the PHP League CommonMark library versions 0.15.6 through 0.18.x before 0.18.1 allows remote attackers to insert unsafe URLs into HTML (even if allow_unsafe_links is false) via a newline character (e.g., writing javascript as javascri%0apt).
Description
Cross-site scripting (XSS) vulnerability in the PHP League CommonMark library versions 0.15.6 through 0.18.x before 0.18.1 allows remote attackers to insert unsafe URLs into HTML (even if allow_unsafe_links is false) via a newline character (e.g., writing javascript as javascri%0apt).
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://commonmark.thephpleague.com/changelog/ | Release NotesThird Party Advisory |
| https://github.com/thephpleague/commonmark/issues/337 | ExploitThird Party Advisory |
| https://github.com/thephpleague/commonmark/releases/tag/0.18.1 | Release NotesThird Party Advisory |
| https://commonmark.thephpleague.com/changelog/ | Release NotesThird Party Advisory |
| https://github.com/thephpleague/commonmark/issues/337 | ExploitThird Party Advisory |
| https://github.com/thephpleague/commonmark/releases/tag/0.18.1 | Release NotesThird Party Advisory |
Track CVE-2018-20583 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2018-20583), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.