grafanacubism-panel : Stored XSS via javascript: URL in panel zoom link (Editor → Viewer)
ekacnet grafanacubism-panel
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| ekacnet grafanacubism-panel |
| No fix yet |
Original description
The grafanacubism-panel plugin allows use of cubism.js in Grafana. In 0.1.2 and earlier, the panel's zoom-link handler passes a dashboard-editor-supplied URL directly to window.location.assign() / window.open() with no scheme validation. An attacker with dashboard Editor privileges can set the link to a javascript: URI; when any Viewer drag-zooms on the panel, the payload executes in the Grafana origin.
From the CVE record · GitHub_M