Skip to main content
← All vulnerabilities
CVE-2025-4123GHSA-Q53Q-GXQ9-MGRJBIT-GRAFANA-2025-4123GO-2025-3704

A cross-site scripting (XSS) vulnerability exists in Grafana caused by combining a client path traversal and open redirect.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 10.4.19, 11.2.10, 11.3.7, 11.4.5, 11.5.5, and 3 more
1 on Exploit-DB, 5 proofs of concept on GitHub, 1 Nuclei template
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Public exploit on Exploit-DB

    EDB-52491

  4. Record last updated
  5. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • Grafana Grafana

    From 10.4.18+security-01 · fixed in 10.4.19; From 11.2.9+security-01 · fixed in 11.2.10; From 11.3.6+security-01 · fixed in 11.3.7; From 11.4.4+security-01 · fixed in 11.4.5; From 11.5.4+security-01 · fixed in 11.5.5; From 11.6.1+security-01 · fixed in 11.6.2; From 12.0.0+security-01 · fixed in 12.0.1

  • github.com/grafana/grafanaGo

    fixed in 0.0.0-20250521183405-c7a690348df7

  • github.com/grafana/grafanaGo

    All versions

References 9

grafana.com

Exploit-DB

GitHub · projectdiscovery/nuclei-templates

GitHub · ItsNee/Grafana-CVE-2025-4123-POC

GitHub · MorphyKutay/CVE-2025-4123-Exploit

GitHub · NightBloodZ/CVE-2025-4123

GitHub · imbas007/CVE-2025-4123-template

GitHub · ynsmroztas/CVE-2025-4123-Exploit-Tool-Grafana-