A cross-site scripting (XSS) vulnerability exists in Grafana caused by combining a client path traversal and open redirect. This allows attackers to redirect users to a website that hosts a frontend plugin that will execute arbitrary JavaScript. This vulnerability does not require editor permissions and if anonymous access is enabled, the XSS will work. If the Grafana Image Renderer plugin is installed, it is possible to exploit the open redirect to achieve a full read SSRF.
The default Content-Security-Policy (CSP) in Grafana will block the XSS though the `connect-src` directive.
CVSS Details
- CVSS 3.1 Base Score: 7.6
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade grafana-selinuxUpgrade grafana | May 21, 2025 | May 19, 2025 |
| Freebsd | — | Upgrade grafanaUpgrade grafana8Upgrade grafana9 | May 28, 2025 | May 27, 2025 |
| Oracle_linux | — | Upgrade grafana-selinuxUpgrade grafana | May 20, 2025 | May 15, 2025 |
| Redhat_linux | — | Upgrade grafana-debugsourceUpgrade grafana-debuginfoUpgrade grafana-selinuxUpgrade grafana | May 20, 2025 | May 15, 2025 |
| Rocky_linux | — | Upgrade grafana-debugsourceUpgrade grafanaUpgrade grafana-debuginfoUpgrade grafana-selinux | Jul 31, 2025 | Jul 29, 2025 |
| Suse | — | Upgrade govulncheck-vulndb | Nov 5, 2025 | Jun 1, 2025 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub