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)
Published Dec 30, 2018
6.1
MEDIUMCVSS 3.0
EPSS 1.60%
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).
Affected products
No data.
- ≥ 0.15.6 · ≤ 0.18.0
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
AV:N/AC:M/Au:N/C:N/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Table of values (12 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.60% (0.01597) | 74.86th | v5 (v2026.06.15) |
| Sep 20, 2026 | 1.60% (0.01597) | 74.66th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.11% (0.00114) | 45.52th | v3 (v2023.03.01) |
| Jul 3, 2024 | 0.11% (0.00114) | 45.40th | v3 (v2023.03.01) |
| Mar 15, 2024 | 0.11% (0.00112) | 43.40th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.10% (0.00101) | 40.12th | v3 (v2023.03.01) |
| Dec 24, 2023 | 0.13% (0.00125) | 47.00th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.12% (0.00120) | 44.45th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.14% (0.01136) | 59.45th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.14% (0.01136) | 34.23th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.05% (0.01046) | 28.66th | v5 (v2026.06.15) |
| Apr 14, 2021 | 1.05% (0.01046) | 0.00th | v1 |
References (6)
- https://commonmark.thephpleague.com/changelog/ x_refsource_MISCRelease NotesThird Party Advisory
- https://github.com/FriendsOfPHP/security-advisories/blob/master/league/commonmark/CVE-2018-20583.yaml
- https://github.com/advisories/GHSA-qx76-c53f-5c7q Advisory
- https://github.com/thephpleague/commonmark/issues/337 x_refsource_MISCExploitThird Party Advisory
- https://github.com/thephpleague/commonmark/releases/tag/0.18.1 x_refsource_MISCRelease NotesThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-20583
| Link | Providers | Tags |
|---|---|---|
| https://commonmark.thephpleague.com/changelog/ | x_refsource_MISCRelease NotesThird Party Advisory | |
| https://github.com/FriendsOfPHP/security-advisories/blob/master/league/commonmark/CVE-2018-20583.yaml | ||
| https://github.com/advisories/GHSA-qx76-c53f-5c7q | Advisory | |
| https://github.com/thephpleague/commonmark/issues/337 | x_refsource_MISCExploitThird Party Advisory | |
| https://github.com/thephpleague/commonmark/releases/tag/0.18.1 | x_refsource_MISCRelease NotesThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-20583 |
Change history (0)
No recorded changes yet.