7.5

CVE-2020-15138: prismjs previewers Cross-site Scripting

CVSS: 7.5v3.1HighModified
AliasesUBUNTU-CVE-2020-15138DEBIAN-CVE-2020-15138GHSA-wvhm-4hhf-97x9
Published 07-08-2020Last modified 04-08-2024

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.

Overall risk
30/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
2.04%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 07-08-2020
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last 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

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

19-09-202619-10-2026
EPSS score
2.04%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Prismjs2 products
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