Cross-site Scripting (XSS) Affecting @theia/preview package, versions <1.3.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.45% (76th 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-JS-THEIAPREVIEW-1079037
  • published25 Feb 2021
  • disclosed25 Feb 2021
  • creditCasey Flynn

Introduced: 25 Feb 2021

CVE-2020-27224  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade @theia/preview to version 1.3.0 or higher.

Overview

@theia/preview is a Theia - Preview Extension

Affected versions of this package are vulnerable to Cross-site Scripting (XSS). The Markdown Preview (@theia/preview), can be exploited to execute arbitrary JavaScript code.

CVSS Scores

version 3.1