CVE-2020-15138
CVSS V2 Low 2.6
CVSS V3 High 7.5
Description
Prism is vulnerable to Cross-Site Scripting. The easing preview of the Previewers plugin has an XSS vulnerability that allows attackers to execute arbitrary code in Safari and Internet Explorer. This impacts all Safari and Internet Explorer users of Prism >=v1.1.0 that use the _Previewers_ plugin (>=v1.10.0) or the _Previewer: Easing_ plugin (v1.1.0 to v1.9.0). This problem is fixed in version 1.21.0. To workaround the issue without upgrading, disable the easing preview on all impacted code blocks. You need Prism v1.10.0 or newer to apply this workaround.
Overview
- CVE ID
- CVE-2020-15138
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2020-08-07T17:15:10
- Last Modified Date
- 2020-08-28T17:06:10
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
AND | ||||
cpe:2.3:a:prismjs:previewers:*:*:*:*:*:prismjs:*:* | 1 | OR | 1.1.0 | 1.21.0 |
cpe:2.3:a:apple:safari:-:*:*:*:*:*:*:* | 0 | OR | ||
cpe:2.3:a:microsoft:internet_explorer:-:*:*:*:*:*:*:* | 0 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:H/Au:N/C:N/I:P/A:N
- Access Vector
- NETWORK
- Access Compatibility
- HIGH
- Authentication
- NONE
- Confidentiality Impact
- NONE
- Integrity Impact
- PARTIAL
- Availability Impact
- NONE
- Base Score
- 2.6
- Severity
- LOW
- Exploitability Score
- 4.9
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:L
- Attack Vector
- NETWORK
- Attack Compatibility
- HIGH
- Privileges Required
- NONE
- User Interaction
- REQUIRED
- Scope
- CHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- LOW
- Base Score
- 7.5
- Base Severity
- HIGH
- Exploitability Score
- 1.6
- Impact Score
- 5.3
References
Reference URL | Reference Tags |
---|---|
https://prismjs.com/plugins/previewers/#disabling-a-previewer | Vendor Advisory |
https://github.com/PrismJS/prism/pull/2506/commits/7bd7de05edf71112a3a77f87901a2409c9c5c20c | Patch Third Party Advisory |
https://github.com/PrismJS/prism/security/advisories/GHSA-wvhm-4hhf-97x9 | Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2020-15138 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15138 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 16:27:51 | Added to TrackCVE | |||
2022-12-04 20:40:25 | 2020-08-07T17:15Z | 2020-08-07T17:15:10 | CVE Published Date | updated |
2022-12-04 20:40:25 | 2020-08-28T17:06:10 | CVE Modified Date | updated | |
2022-12-04 20:40:26 | Analyzed | Vulnerability Status | updated |