Prism is vulnerable to Cross-Site Scripting. The easing preview of the Previewers plugin has an XSS…
Historical advisory recorded 24 Oct 2026 16:17:20 UTC. Read the latest advisory.
nvd · CVE-2020-15138
PublishedPrism 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.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2020-15138
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Modified
Weakness classifications: CWE-79
Original publisher date fields
published: 2020-08-07T17:15:10.450
lastModified: 2026-06-17T02:56:07.577
3 source CPE criteria · context only
- cpe:2.3:a:prismjs:previewers:*:*:*:*:*:prismjs:*:*
- cpe:2.3:a:apple:safari:-:*:*:*:*:*:*:*
- cpe:2.3:a:microsoft:internet_explorer:-:*:*:*:*:*:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON