CVE-2025-4123: github.com/grafana/grafana · Grafana Cross-Site-Scripting (XSS) via custom loaded frontend plugin
Affects github.com/grafana/grafanaSource GCVE Database
Public exploit available (Exploit-DB) · CVSS 7.6 High : upgrade to 0.0.0-20250521183405-c7a690348df7 as a priority.
Data as of 27 Oct 2026, 00:07 UTC
- Patch
- Available – fixed in 0.0.0-20250521183405-c7a690348df7
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:LExploitation evidence
t = 0 is the CVE’s publication on cve.org
Disclosed: evidence found.
CVE published 22 May 2025
Detectable: evidence found.
nuclei template: Grafana - XSS / Open Redirect / SSRF via Client Path Traversal
Weaponised: evidence found.
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
Timeline
CVE published
on cve.org
, t = 0
First Exploit-DB entry (opens in a new tab)
Grafana 11.6.0 - SSRF
, 319 days after disclosure
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade github.com/grafana/grafana to 0.0.0-20250521183405-c7a690348df7.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Gogithub.com/grafana/grafana | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- nvd.nist.gov/vuln/detail/CVE-2025-4123 (opens in a new tab)
- github.com/grafana/grafana/commit/c7a690348df761d41b659224cbc50a46a0c0e4cc (opens in a new tab)
- github.com/grafana/grafana (opens in a new tab)
- grafana.com/blog/2025/05/23/grafana-security-release-medium-and-high-severity-security-fixes-for-cve-2025-4123-and-cve-2025-3580 (opens in a new tab)
- grafana.com/security/security-advisories/cve-2025-4123 (opens in a new tab)
- pkg.go.dev/vuln/GO-2025-3702 (opens in a new tab)
- exploit-db.com/exploits/52491 (opens in a new tab)