Vulnerability Details : CVE-2020-15138
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.
Vulnerability category: Cross site scripting (XSS)Execute code
Products affected by CVE-2020-15138
- cpe:2.3:a:prismjs:previewers:*:*:*:*:*:prismjs:*:*
Exploit prediction scoring system (EPSS) score for CVE-2020-15138
0.67%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 70 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2020-15138
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
2.6
|
LOW | AV:N/AC:H/Au:N/C:N/I:P/A:N |
4.9
|
2.9
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:L |
1.6
|
5.3
|
NIST | |
7.1
|
HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L |
1.6
|
5.5
|
GitHub, Inc. |
CWE ids for CVE-2020-15138
-
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.Assigned by:
- nvd@nist.gov (Primary)
- security-advisories@github.com (Secondary)
References for CVE-2020-15138
-
https://github.com/PrismJS/prism/security/advisories/GHSA-wvhm-4hhf-97x9
XSS vulnerability in the Previewers plugin · Advisory · PrismJS/prism · GitHubThird Party Advisory
-
https://prismjs.com/plugins/previewers/#disabling-a-previewer
Previewers ▲ Prism pluginsVendor Advisory
-
https://github.com/PrismJS/prism/pull/2506/commits/7bd7de05edf71112a3a77f87901a2409c9c5c20c
Previewers: Fixed XSS by RunDevelopment · Pull Request #2506 · PrismJS/prism · GitHubPatch;Third Party Advisory
Jump to