XSS in Grafana

CVE-2025-4123

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.

Vulnerability class: XSS (Cross-Site Scripting)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.6 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L.

EPSS exploit prediction

EPSS: 0.971 (99.9th percentile), scored .

Very high probability of exploitation in the next 30 days — among the top 0.1% most-likely-to-be-exploited CVEs. 100th percentile — 99.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2025-4123: held from 0.970 to 0.971.

EPSS over last 30 days · oldest: 0.970 · newest: 0.971 · change: +0.001

Affected products

  • Grafana — versions 12.0.0+security-01, 11.4.4, 10.4.18

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2025-4123?
CVE-2025-4123 is a high-severity vulnerability in Grafana, classified under Cross-site Scripting. CVSS score: 7.6/10. Published 2025-05-22.
How severe is CVE-2025-4123?
High severity. CVSS v3 base score is 7.6 out of 10.
Is CVE-2025-4123 known to be exploited?
27 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.