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.
CVE ID: CVE-2025-4123
CVSS Base Severity: HIGH
CVSS Base Score: 7.6
CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L
Vendor: Grafana
Product: Grafana
http/cves/2025/CVE-2025-4123.yaml
EPSS Score: 2.43% (probability of being exploited)
EPSS Percentile: 84.39% (scored less or equal to compared to others)
EPSS Date: 2025-06-14 (when was this score calculated)