CVE-2020-15138: prismjs previewers Cross-site Scripting
Vulnerability summary
CVE-2020-15138 is a high (CVSS 7.5) Cross-site Scripting vulnerability in prismjs previewers. EPSS estimates a 2.04% chance of exploitation in the next 30 days, higher than 80.8% of scored vulnerabilities.
Timeline
- 07-08-2020PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 5 sources · 2 versions- CVE.orgCNA7.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:LDiffers
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:L
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:L
- OSV · NpmEcosystem advisory · calculated7.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:LDiffers
EPSS trend
Probability
2.04%
Chance of exploitation in the next 30 days
Percentile
81%
Versus all other CVEs
30-day change
0.00 pp
From 2.04% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Prismjs2 products
- previewers≥ 1.1.0, < 1.21.0
- prism≥ 1.1.0, < 1.21.0
Debian1 product
- node-prismjs< 1.11.0+dfsg-4
Npm1 product
- prismjs≥ 1.1.0, < 1.21.0
Ubuntu1 product
- node-prismjsAll versions (No fix recorded)
4 vendors · 5 products
References
7 links- github.com/PrismJS/prism/security/advisories/GHSA-wvhm-4hhf-97x9X Refsource CONFIRMREPORTWEBThird Party Advisory
- github.com/PrismJS/prism/pull/2506/commits/7bd7de05edf71112a3a77f87901a2409c9c5c20cX Refsource MISCREPORTWEBPatchThird Party Advisory