Stackurity Start free trial

CVEs / CVE-2025-4123

CVE-2025-4123: Grafana Grafana vulnerability

Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.

Check your servers with Stackurity Already using Stackurity? Search for CVE-2025-4123

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.

The CVE record, via NVD · published 22 May 2025 · NVD status: Modified

Affected and fixed versions

As stated by the CVE record (from the CNA)
ProductAffectedFixed in
Grafana Grafanafrom 10.4.18+security-01, before 10.4.1910.4.19
Grafana Grafanafrom 11.2.9+security-01, before 11.2.1011.2.10
Grafana Grafanafrom 11.3.6+security-01, before 11.3.711.3.7
Grafana Grafanafrom 11.4.4+security-01, before 11.4.511.4.5
Grafana Grafanafrom 11.5.4+security-01, before 11.5.511.5.5
Grafana Grafanafrom 11.6.1+security-01, before 11.6.211.6.2
Grafana Grafanafrom 12.0.0+security-01, before 12.0.112.0.1
As stated by OSV
ProductAffectedFixed in
github.com/grafana/grafana (Go)before 0.0.0-20250521183405-c7a690348df70.0.0-20250521183405-c7a690348df7

Package versions from GHSA-q53q-gxq9-mgrj.

Exploitation

Not in the CISA Known Exploited Vulnerabilities catalog as of 30 Nov 2026.

Severity

CVSS 3.16.1 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Scored by NVD
WeaknessCWE-79, CWE-601

References

Sources

Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.

This product uses data from the NVD API but is not endorsed or certified by the NVD.