CVE-2025-4123

High

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.

SeverityHigh
CVSS7.6
Exploit probability—
ProductGrafana
PublishedMay 22, 2025
First seenMay 22, 2025

How to fix

Update
  • grafana grafana10.4.18, 11.2.9, 11.3.6, 11.4.4, 11.5.4, 11.6.1 or later
  • github.com/grafana/grafana0.0.0-20250521183405-c7a690348df7 or later

Affected products

ProductAffected versionsFixed in
grafana grafanav < 10.4.18, 11.2.0 ≤ v < 11.2.9, 11.3.0 ≤ v < 11.3.6, 11.4.0 ≤ v < 11.4.4, 11.5.0 ≤ v < 11.5.4, 11.6.0 ≤ v < 11.6.1, 10.4.18, 11.2.9, 11.3.6, 11.4.4, 11.5.4, 11.6.1, 12.0.010.4.18, 11.2.9, 11.3.6, 11.4.4, 11.5.4, 11.6.1
github.com/grafana/grafanaGov < 0.0.0-20250521183405-c7a690348df7, No range specified0.0.0-20250521183405-c7a690348df7

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.