CVE-2025-4123

CVE-2025-4123 is a high-severity vulnerability in Grafana with a CVSS 3.x base score of 7.6. Its EPSS exploit-prediction score of 98% places it in the 100th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-79.

Key facts

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.

Frequently asked questions

What is CVE-2025-4123?
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.
How severe is CVE-2025-4123?
CVE-2025-4123 has a CVSS 3.x base score of 7.6, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is high, integrity low, and availability low.
Is CVE-2025-4123 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 98% (100th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2025-4123?
CVE-2025-4123 primarily affects Grafana. In total, 8 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2025-4123?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
Does CVE-2025-4123 have an EU (EUVD) identifier?
Yes. CVE-2025-4123 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-16107.
When was CVE-2025-4123 published?
CVE-2025-4123 was published on 2025-05-22 and last updated on 2026-06-17.

References

Affected products (8)

More vulnerabilities in Grafana

All CVEs affecting Grafana →

Other CWE-79 (Cross-site Scripting (XSS)) vulnerabilities

Browse all CWE-79 (Cross-site Scripting (XSS)) vulnerabilities →

Threat intelligence

Threat-intel indicators referencing this CVE: