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.
Configurations

Configuration 1 (hide)

AND
cpe:2.3:a:prismjs:previewers:*:*:*:*:*:prismjs:*:*
OR cpe:2.3:a:apple:safari:-:*:*:*:*:*:*:*
cpe:2.3:a:microsoft:internet_explorer:-:*:*:*:*:*:*:*

History

21 Nov 2024, 05:04

Type Values Removed Values Added
References () https://github.com/PrismJS/prism/pull/2506/commits/7bd7de05edf71112a3a77f87901a2409c9c5c20c - Patch, Third Party Advisory () https://github.com/PrismJS/prism/pull/2506/commits/7bd7de05edf71112a3a77f87901a2409c9c5c20c - Patch, Third Party Advisory
References () https://github.com/PrismJS/prism/security/advisories/GHSA-wvhm-4hhf-97x9 - Third Party Advisory () https://github.com/PrismJS/prism/security/advisories/GHSA-wvhm-4hhf-97x9 - Third Party Advisory
References () https://prismjs.com/plugins/previewers/#disabling-a-previewer - Vendor Advisory () https://prismjs.com/plugins/previewers/#disabling-a-previewer - Vendor Advisory
CVSS v2 : 2.6
v3 : 7.5
v2 : 2.6
v3 : 7.1

Information

Published : 2020-08-07 17:15

Updated : 2024-11-21 05:04


NVD link : CVE-2020-15138

Mitre link : CVE-2020-15138

CVE.ORG link : CVE-2020-15138


JSON object : View

Products Affected

prismjs

  • previewers

microsoft

  • internet_explorer

apple

  • safari
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')