CVE-2025-4123: A cross-site scripting (XSS) vulnerability exists in Grafana caused by combining a client path traversal and open redirect.
CVE-2025-4123 affects 26 listed versions of Grafana Labs Grafana in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Grafana Labs Grafana
26 of 250 listed versions are affected. Fixed in 12.0.1, 11.5.5, 11.4.5, 11.3.7, 11.2.10, 10.4.19. The newest release, 13.3.2, is not affected.
12.0.0+security-01 11.5.4+security-01 11.4.4+security-01 11.3.6+security-01 11.2.9+security-01 10.4.18+security-01 10.3.12 10.3.11 10.3.10 10.3.9 10.3.8 10.3.7 10.3.6 10.3.5 10.3.4 10.3.3 10.3.1 10.3.0 10.2.9 10.2.8 10.2.7 10.2.6 10.2.5 10.2.4 10.2.3 10.2.2
What it is
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:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N (NVD)
Published by Grafana on 22 May 2025. Last changed 17 June 2026. Exploit code is public (Metasploit or Nuclei).
Sources
Check one version you run: look CVE-2025-4123 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.