Vulnerabilities

CVE-2025-4123

Medium 6.1 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2025-05-22
Last modified
2026-06-17
Assigned by
security@grafana.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
98.3 % among the highest of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
github.com/grafana grafana (Go) < 0.0.0-20250521183405-c7a690348df7 Affected
Grafana Grafana < 10.4.18 Affected
Grafana Grafana 10.4.18 Affected
Grafana Grafana 11.2.9 Affected
Grafana Grafana 11.3.6 Affected
Grafana Grafana 11.4.4 Affected
Grafana Grafana 11.5.4 Affected
Grafana Grafana 11.6.1 Affected
Grafana Grafana 12.0.0 Affected
Grafana Grafana ≥ 11.2.0, < 11.2.9 Affected
Grafana Grafana ≥ 11.3.0, < 11.3.6 Affected
Grafana Grafana ≥ 11.4.0, < 11.4.4 Affected
Grafana Grafana ≥ 11.5.0, < 11.5.4 Affected
Grafana Grafana ≥ 11.6.0, < 11.6.1 Affected

Weakness type

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities