Cross-site Scripting (XSS) Affecting octotree package, versions <1.1


Severity

Recommended
0.0
medium
0
10

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

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 IDnpm:octotree:20140514
  • published30 May 2017
  • disclosed13 May 2014
  • creditGreg Ose

Introduced: 13 May 2014

CVE NOT AVAILABLE CWE-79  (opens in a new tab)

How to fix?

Upgrade octotree to version 1.0.0 or higher.

Overview

octotree Display GitHub code in tree format.

Affected versions of the package are vulnerable to Cross-site Scripting (XSS). The filenames are added to jsTree without sanitization. jsTree will render HTML passed as a tree node's text, potentially compromising the GitHub tokens stored in local storage and allowing an attacker to access GitHub sessions.

Details

<>

CVSS Scores

version 3.1