CVE-2020-15138
JavaScript vulnerability analysis and mitigation

Overview

Prism's Previewers plugin contained a Cross-Site Scripting (XSS) vulnerability (CVE-2020-15138) that affected versions >=1.1.0 and <1.21.0. The vulnerability specifically impacted the easing preview feature, allowing attackers to execute arbitrary code in Safari and Internet Explorer browsers. This security issue affected all Safari and Internet Explorer users of Prism that utilized either the Previewers plugin (>=v1.10.0) or the Previewer: Easing plugin (v1.1.0 to v1.9.0) (GitHub Advisory).

Technical details

The vulnerability was discovered in the easing preview functionality of the Previewers plugin. It was introduced through a commit on September 29, 2015, and was eventually fixed by security researcher Masato Kinugawa. The issue received a CVSS v3.1 base score of 7.5 (HIGH) from NIST with a vector string of CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:L, indicating a network-exploitable vulnerability requiring user interaction (NVD).

Impact

The vulnerability allowed attackers to execute arbitrary code through cross-site scripting attacks specifically in Safari and Internet Explorer browsers. This could potentially lead to unauthorized access to user data and compromise of browser security in the context of sites using affected versions of the Prism library (GitHub Advisory).

Exploitability

The vulnerability required user interaction and was specifically exploitable in Safari and Internet Explorer browsers. The attack complexity was rated as high, but no authentication was required to exploit the vulnerability. No public exploits were documented at the time of disclosure (NVD).

Mitigation and workarounds

The vulnerability was patched in Prism version 1.21.0. For users unable to upgrade immediately, a workaround was provided that involved disabling the easing preview on all impacted code blocks, though this workaround required Prism v1.10.0 or newer to implement (GitHub Advisory, Prism Docs).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-63376HIGH8.2
  • JavaScript logoJavaScript
  • trigger-dev
NoYesSep 03, 2026
GHSA-7q9c-hpx7-9cwmHIGH7.5
  • JavaScript logoJavaScript
  • @typespec/spector
NoYesSep 04, 2026
CVE-2026-77465HIGH7.5
  • JavaScript logoJavaScript
  • cockpit-image-builder.src
NoYesSep 03, 2026
CVE-2026-71429MEDIUM6.2
  • JavaScript logoJavaScript
  • stream-json
NoYesSep 03, 2026
GHSA-6hxq-p678-4hr2LOW2
  • JavaScript logoJavaScript
  • @simplewebauthn/server
NoYesSep 04, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management