CVE-2025-4123

MEDIUM WAF: High
CVSS 6.1 Published: 2025-05-22
CWE-79 CWE-601

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.

WAF Coverage Analysis

Cross-Site Scripting (XSS) High WAF Coverage

OWASP: A03:2021 Injection

941xxx - XSS / XXE
Open Redirect Medium WAF Coverage

OWASP: A01:2021 Broken Access Control

941xxx - XSS / XXE

Affected Software

VendorProductVersion
grafanagrafanaup to 10.4.18
grafanagrafana11.2.0 - 11.2.9
grafanagrafana11.3.0 - 11.3.6
grafanagrafana11.4.0 - 11.4.4
grafanagrafana11.5.0 - 11.5.4
grafanagrafana11.6.0 - 11.6.1
grafanagrafana10.4.18
grafanagrafana11.2.9
grafanagrafana11.3.6
grafanagrafana11.4.4

References

Back to CVE Database