# CVE-2020-15138: Cross-Site Scripting in Prism

- Priority: **Routine**
- Reason: Not severe (CVSS 7.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2020-08-07 · Modified: 2024-08-04
- Aliases: UBUNTU-CVE-2020-15138, DEBIAN-CVE-2020-15138, GHSA-wvhm-4hhf-97x9
- Record: https://cvemate.com/vulnerability/CVE-2020-15138 · JSON: https://cvemate.com/vulnerability/CVE-2020-15138/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:L
- EPSS: 2.041%, percentile 81.817%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian node-prismjs (Debian): \< 1.11.0+dfsg-4
- ubuntu node-prismjs (Ubuntu): All versions (No fix recorded)
- Npm prismjs (Npm): ≥ 1.1.0, \< 1.21.0
- prismjs previewers: ≥ 1.1.0, \< 1.21.0
- prismjs prism: ≥ 1.1.0, \< 1.21.0

## References

- <https://github.com/PrismJS/prism/security/advisories/GHSA-wvhm-4hhf-97x9>
- <https://prismjs.com/plugins/previewers/#disabling-a-previewer>
- <https://github.com/PrismJS/prism/pull/2506/commits/7bd7de05edf71112a3a77f87901a2409c9c5c20c>
- <https://ubuntu.com/security/CVE-2020-15138>
- <https://www.cve.org/CVERecord?id=CVE-2020-15138>
- <https://security-tracker.debian.org/tracker/CVE-2020-15138>
- <https://nvd.nist.gov/vuln/detail/CVE-2020-15138>

---

Data as of 2026-12-05T05:13:25.523Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
