{"id":"GHSA-8c8c-4vfj-rrpc","aliases":["GHSA-8c8c-4vfj-rrpc"],"related":[],"kind":"vulnerability","state":"published","title":"Reflected Cross-Site Scripting in redis-commander","summary":"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.\n\nMitigating factors:\nFlash 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/)\n\n## Proof of concept\n\n```\nhttp://instance/jstree/_docs/syntax/clipboard.swf?highlighterId=\\%22))}%20catch(e)%20{alert(document.domain);}//\n```\n\n\n## Recommendation\n\nNo direct patch for this vulnerability is currently available.\n\nAt 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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.\n\nMitigating factors:\nFlash 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/)\n\n## Proof of concept\n\n```\nhttp://instance/jstree/_docs/syntax/clipboard.swf?highlighterId=\\%22))}%20catch(e)%20{alert(document.domain);}//\n```\n\n\n## Recommendation\n\nNo direct patch for this vulnerability is currently available.\n\nAt 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.","format":"markdown","source":"ghsa"}],"published":"2020-09-01T19:05:11.000Z","modified":"2022-03-04T22:02:50.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"LOW"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"LOW"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0.0.0","status":"affected","fixed":"0.5.0"}],"ecosystem":"npm","package":"redis-commander","purl":"pkg:npm/redis-commander","source":"ghsa"}],"references":[{"url":"https://github.com/joeferner/redis-commander/commit/1a483ebb3a706cf199dd283cf0aead96606adb14","tags":["web"],"sources":["ghsa"]},{"url":"https://hackerone.com/reports/296377","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/joeferner/redis-commander","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/joeferner/redis-commander/releases/tag/v0.5.0","tags":["web"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/advisories/562","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8c8c-4vfj-rrpc","url":"https://github.com/advisories/GHSA-8c8c-4vfj-rrpc","licence":"CC-BY-4.0","modified":"2022-03-04T22:02:50.000Z"}],"updatedAt":"2026-11-25T22:56:44.708Z"}