Cross-site Scripting (XSS) Affecting redis-commander package, versions <0.5.0


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:redis-commander:20180109
  • published25 Jan 2018
  • disclosed8 Jan 2018
  • creditYasin Soliman

Introduced: 8 Jan 2018

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

How to fix?

Upgrade redis-commander to version 0.5.0 or higher.

Overview

redis-commander is a Redis management tool written in node.js

Affected versions of this package are vulnerable to Reflected Cross-Site Scripting (XSS) via the clipboard.swf component.

An attacker may input a crafted XXX in the highlighterId parameter of the clipboard.swf component, causing a Reflected XSS on hosts serving Redis Commander.

Proof of concept by Yasin Soliman:

http://instance/jstree/_docs/syntax/clipboard.swf?highlighterId=\%22))}%20catch(e)%20{alert(document.domain);}//

Details

<>

CVSS Scores

version 3.1