CVE-2018-20583
CVSS V2 Medium 4.3
CVSS V3 Medium 6.1
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).
Overview
- CVE ID
- CVE-2018-20583
- Assigner
- cve@mitre.org
- Vulnerability Status
- Analyzed
- Published Version
- 2018-12-30T05:29:00
- Last Modified Date
- 2019-01-15T16:35:29
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:thephpleague:commonmark:*:*:*:*:*:*:*:* | 1 | OR | 0.15.6 | 0.18.0 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:N/C:N/I:P/A:N
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- NONE
- Integrity Impact
- PARTIAL
- Availability Impact
- NONE
- Base Score
- 4.3
- Severity
- MEDIUM
- Exploitability Score
- 8.6
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.0
- Vector String
- CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- REQUIRED
- Scope
- CHANGED
- Confidentiality Impact
- LOW
- Availability Impact
- NONE
- Base Score
- 6.1
- Base Severity
- MEDIUM
- Exploitability Score
- 2.8
- Impact Score
- 2.7
References
Reference URL | Reference Tags |
---|---|
https://github.com/thephpleague/commonmark/releases/tag/0.18.1 | Release Notes Third Party Advisory |
https://github.com/thephpleague/commonmark/issues/337 | Exploit Third Party Advisory |
https://commonmark.thephpleague.com/changelog/ | Release Notes Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2018-20583 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-20583 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 17:48:14 | Added to TrackCVE | |||
2022-12-03 15:52:23 | 2018-12-30T05:29Z | 2018-12-30T05:29:00 | CVE Published Date | updated |
2022-12-03 15:52:23 | 2019-01-15T16:35:29 | CVE Modified Date | updated | |
2022-12-03 15:52:23 | Analyzed | Vulnerability Status | updated |