Vulnerability 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 Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Thephpleague | Commonmark | >= 0.15.6, <= 0.18.0 |
Related Weaknesses (CWE)
References
- https://commonmark.thephpleague.com/changelog/Release NotesThird Party Advisory
- https://github.com/thephpleague/commonmark/issues/337ExploitThird Party Advisory
- https://github.com/thephpleague/commonmark/releases/tag/0.18.1Release NotesThird Party Advisory
- https://commonmark.thephpleague.com/changelog/Release NotesThird Party Advisory
- https://github.com/thephpleague/commonmark/issues/337ExploitThird Party Advisory
- https://github.com/thephpleague/commonmark/releases/tag/0.18.1Release NotesThird Party Advisory
FAQ
What is CVE-2018-20583?
CVE-2018-20583 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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...
How severe is CVE-2018-20583?
CVE-2018-20583 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2018-20583?
Check the references section above for vendor advisories and patch information. Affected products include: Thephpleague Commonmark.