CVE-2018-20583
mediumpriority · track · 25EPSS 0.019 · 79 %ileEUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-qx76-c53f-5c7qPHP League CommonMark vulnerable to Cross-Site Scripting (XSS)2022-05-14ghsa · osvUS
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).
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (9)
External citations — patches, advisories, analysis.
- https://commonmark.thephpleague.com/changelog/cnnvd
- https://github.com/thephpleague/commonmark/issues/337cnnvd
- https://github.com/thephpleague/commonmark/releases/tag/0.18.1cnnvd
- https://commonmark.thephpleague.com/changelog/enisa_euvd
- https://github.com/thephpleague/commonmark/issues/337enisa_euvd
- https://github.com/thephpleague/commonmark/releases/tag/0.18.1enisa_euvd
- https://commonmark.thephpleague.com/changelog/Release NotesThird Party Advisorynvd
- https://github.com/thephpleague/commonmark/issues/337ExploitThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan