Cross-site Scripting (XSS) Affecting node-prismjs package, versions <1.11.0+dfsg-4


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.36% (73rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIANUNSTABLE-NODEPRISMJS-597604
  • published8 Aug 2020
  • disclosed7 Aug 2020

Introduced: 7 Aug 2020

CVE-2020-15138  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade Debian:unstable node-prismjs to version 1.11.0+dfsg-4 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-prismjs package and not the node-prismjs package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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 Base Scores

version 3.1