First published: Sat Dec 29 2018(Updated: )
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).
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
composer/league/commonmark | >=0.15.6<0.18.1 | |
Thephpleague Commonmark | >=0.15.6<=0.18.0 | |
composer/league/commonmark | >=0.15.6<0.18.1 | 0.18.1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2018-20583 is a Cross-site scripting (XSS) vulnerability in the PHP League CommonMark library versions 0.15.6 through 0.18.x before 0.18.1.
The severity of CVE-2018-20583 is medium with a severity value of 6.1.
CVE-2018-20583 allows remote attackers to insert unsafe URLs into HTML, even if allow_unsafe_links is set to false, via a newline character.
To fix CVE-2018-20583, you need to update the PHP League CommonMark library to version 0.18.1 or later.
The CWE of CVE-2018-20583 is CWE-79, which refers to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').