# GHSA-8c8c-4vfj-rrpc: Reflected Cross-Site Scripting in redis-commander

- Severity: Low (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-09-01T19:05:11.000Z
- Modified: 2022-03-04T22:02:50.000Z
- Weaknesses: CWE-79

## Description

Affected versions of `redis-commander` contain a cross-site scripting vulnerability in the `highlighterId` paramter of the clipboard.swf component on hosts serving Redis Commander.

Mitigating factors:
Flash must be installed / enabled for this to work. The below proof of concept was verified to work using Firefox 57.0 on Windows 10 by manually installing the [Flash NPAPI Windows plugin](https://get.adobe.com/flashplayer/otherversions/)

## Proof of concept

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


## Recommendation

No direct patch for this vulnerability is currently available.

At this time, the best mitigation is to use an alternative, functionally equivalent package, or to use extreme caution when using redis-commander, ensuring that redis-commmander is the only web page you have open, and avoiding clicking on any links.

(As written by GitHub Advisory Database.)

## Affected

- redis-commander (npm): from 0.0.0 before 0.5.0

## References

- <https://github.com/joeferner/redis-commander/commit/1a483ebb3a706cf199dd283cf0aead96606adb14> (web)
- <https://hackerone.com/reports/296377> (web)
- <https://github.com/joeferner/redis-commander> (package)
- <https://github.com/joeferner/redis-commander/releases/tag/v0.5.0> (web)
- <https://www.npmjs.com/advisories/562> (web)

## Sources

- GitHub Advisory Database: [GHSA-8c8c-4vfj-rrpc](https://github.com/advisories/GHSA-8c8c-4vfj-rrpc), CC-BY-4.0, modified 2022-03-04

---

Page: https://cve.day/GHSA-8c8c-4vfj-rrpc · Whole record: https://cve.day/GHSA-8c8c-4vfj-rrpc.json · Rebuilt by cve.day 2026-11-25T22:56:44.708Z
