CVEfocus › CVE database › CVE-2025-4123

CVE-2025-4123

CVSS 7.6 HighEPSS 8.6% (higher than 96% of CVEs)Published 2025-05-22Updated 2026-04-29Assigner: GRAFANA

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.

CWE-601CWE-79

What to do

Fixed builds are available from AlmaLinux, Go, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

14Fixed
1Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04grafanaFix pendingUBUNTU-CVE-2025-4123
Red Hat Enterprise Linux 10grafanaFixed0:10.2.6-17.el10_0RHSA-2025:7892
Red Hat Enterprise Linux 10grafana-selinuxFixed0:10.2.6-17.el10_0RHSA-2025:7892
Red Hat Enterprise Linux 9grafanaFixed0:10.2.6-13.el9_6RHSA-2025:7893
Red Hat Enterprise Linux 9grafana-selinuxFixed0:10.2.6-13.el9_6RHSA-2025:7893
Red Hat Enterprise Linux 8grafanaFixed0:9.2.10-23.el8_10RHSA-2025:7894
Red Hat Enterprise Linux 8grafana-selinuxFixed0:9.2.10-23.el8_10RHSA-2025:7894
AlmaLinux 9grafanaFixed10.2.6-13.el9_6ALSA-2025:7893
AlmaLinux 9grafana-selinuxFixed10.2.6-13.el9_6ALSA-2025:7893
AlmaLinux 8grafanaFixed9.2.10-23.el8_10ALSA-2025:7894
AlmaLinux 8grafana-selinuxFixed9.2.10-23.el8_10ALSA-2025:7894
Rocky Linux 10grafanaFixed0:10.2.6-17.el10_0RLSA-2025:7892
Rocky Linux 9grafanaFixed0:10.2.6-13.el9_6RLSA-2025:7893
Rocky Linux 8grafanaFixed0:9.2.10-23.el8_10RLSA-2025:7894
Go librarygithub.com/grafana/grafanaFixed0.0.0-20250521183405-c7a690348df7GHSA-q53q-gxq9-mgrj

What the vendor says

As published in the CVE record by GRAFANA, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.