CVE-2018-20583
PHP League CommonMark vulnerable to Cross-Site Scripting (XSS)
6.1
MEDIUM
CVSS 3.1
EPSS 1.6%
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).
How to fix CVE-2018-20583
To remediate CVE-2018-20583, upgrade the affected package to a fixed version below.
- —upgrade to 0.18.1 or later
Is CVE-2018-20583 being exploited?
Low — EPSS is 1.6%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- >= 0.15.6, < 0.18.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |