CVE-2020-15138

High

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.

SeverityHigh
CVSS7.1
Exploit probability81. percentile2%
ProductPrismjs Previewers
PublishedAug 7, 2020
First seenAug 7, 2020

How to fix

Update
  • prismjs previewers1.21.0 or later
  • prismjs1.21.0 or later

Affected products

ProductAffected versionsFixed in
prismjs previewers1.1.0 ≤ v < 1.21.01.21.0
prismjsnpm1.1.0 ≤ v < 1.21.01.21.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.