{"id":"GHSA-8c8c-4vfj-rrpc","summary":"Reflected Cross-Site Scripting in redis-commander","details":"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.","modified":"2022-03-04T22:02:50Z","published":"2020-09-01T19:05:11Z","database_specific":{"github_reviewed_at":"2020-08-31T18:27:52Z","severity":"LOW","nvd_published_at":null,"cwe_ids":["CWE-79"],"github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/joeferner/redis-commander/commit/1a483ebb3a706cf199dd283cf0aead96606adb14"},{"type":"WEB","url":"https://hackerone.com/reports/296377"},{"type":"PACKAGE","url":"https://github.com/joeferner/redis-commander"},{"type":"WEB","url":"https://github.com/joeferner/redis-commander/releases/tag/v0.5.0"},{"type":"WEB","url":"https://www.npmjs.com/advisories/562"}],"affected":[{"package":{"name":"redis-commander","ecosystem":"npm","purl":"pkg:npm/redis-commander"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0"},{"fixed":"0.5.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-8c8c-4vfj-rrpc/GHSA-8c8c-4vfj-rrpc.json"}}],"schema_version":"1.7.3"}