High severity7.1NVD Advisory· Published Aug 7, 2020· Updated Jun 17, 2026
CVE-2020-15138
CVE-2020-15138
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
prismjsnpm | >= 1.1.0, < 1.21.0 | 1.21.0 |
Affected products
3Patches
Vulnerability mechanics
References
5- github.com/PrismJS/prism/pull/2506/commits/7bd7de05edf71112a3a77f87901a2409c9c5c20cnvdPatchThird Party AdvisoryWEB
- github.com/PrismJS/prism/security/advisories/GHSA-wvhm-4hhf-97x9nvdThird Party AdvisoryWEB
- github.com/advisories/GHSA-wvhm-4hhf-97x9ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2020-15138ghsaADVISORY
- prismjs.com/plugins/previewers/nvdVendor AdvisoryWEB
News mentions
0No linked articles in our index yet.