Description
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.
Problem types
Product status
10.4.18+security-01 (semver) before 10.4.19
11.2.9+security-01 (semver) before 11.2.10
11.3.6+security-01 (semver) before 11.3.7
11.4.4+security-01 (semver) before 11.4.5
11.5.4+security-01 (semver) before 11.5.5
11.6.1+security-01 (semver) before 11.6.2
12.0.0+security-01 (semver) before 12.0.1
Credits
Alvaro Balada
References
www.exploit-db.com/exploits/52491
grafana.com/security/security-advisories/cve-2025-4123/
grafana.com/...ty-fixes-for-cve-2025-4123-and-cve-2025-3580/