Reflected Cross-Site Scripting in redis-commander

redis-commander Updated 02 Oct 2025

Summary

01/09/2020
LOW
Yes i
Low
Not published

GHSA-8c8c-4vfj-rrpc: Reflected Cross-Site Scripting in redis-commander. Affects redis-commander versions >= 0.0.0, < 0.5.0. Fixed in 0.5.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

redis-commander is an open-source web-based Redis client that allows users to interact with Redis databases through a user-friendly interface. It provides features such as browsing keys, editing values, and executing commands. The vulnerability in redis-commander allows for reflected cross-site scripting (XSS) attacks, which can lead to the execution of malicious scripts in the context of a user's browser.

Vulnerability Detail

The vulnerability in redis-commander is due to a cross-site scripting vulnerability in the highlighterId parameter of the clipboard.swf component. This vulnerability can be exploited if Flash is installed and enabled on the user's browser. An attacker can craft a malicious URL that, when clicked, triggers the execution of arbitrary JavaScript code in the victim's browser. This can lead to various consequences, including the theft of sensitive information, session hijacking, or the injection of malicious content into the affected web page.

How To Fix

Minimum fixed version

0.5.0

This is the first release that contains the fix.

npm install redis-commander@0.5.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a workaround, you can disable or uninstall Flash from your browser. This can be done by following the instructions specific to your browser. For example, in Google Chrome, you can go to the browser settings, search for 'Flash', and disable the 'Ask first' option.

Conclusion

The vulnerability in redis-commander allows for reflected cross-site scripting (XSS) attacks, which can have serious consequences for users of the application. To mitigate the risk, it is recommended to disable or uninstall Flash, use an alternative Redis client, or exercise extreme caution when using redis-commander. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for redis-commander →

Share this vulnerability

FAQ

redis-commander is a web-based Redis client that provides a user-friendly interface for interacting with Redis databases.

Cross-site scripting (XSS) is a type of security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users.

The vulnerability in redis-commander is a cross-site scripting (XSS) vulnerability that can be exploited if Flash is installed and enabled. An attacker can craft a malicious URL that, when clicked, executes arbitrary JavaScript code in the victim's browser.

The exploitation of this vulnerability can lead to various consequences, including the theft of sensitive information, session hijacking, or the injection of malicious content into the affected web page.

Currently, there is no direct patch available for this vulnerability. It is recommended to follow the mitigation steps mentioned earlier.

How To Fix

Minimum fixed version

0.5.0

This is the first release that contains the fix.

npm install redis-commander@0.5.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback