7.5

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

Modified
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) vulnerability in prismjs previewers. EPSS estimates a 2.04% chance of exploitation in the next 30 days, higher than 81.8% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.1, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
2.04%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware 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

82%

Versus all other CVEs

30-day change

No change 0.00 pp

From 2.04% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

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