Vulnerability · Published May 22, 2025 · Assigned by GRAFANA

CVE-2025-4123

High 7.6

In plain English

A high-severity cross-site scripting in Grafana from Grafana. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 97.1% (higher than 99.9% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei, public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.6High
Exploit odds (30 days)97.1%top 0.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling2Nuclei, Public PoC

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8grafana9.2.10-23.el8_10ALSA-2025:7894
AlmaLinux:9grafana10.2.6-13.el9_6ALSA-2025:7893
AlmaLinux:8grafana-selinux9.2.10-23.el8_10ALSA-2025:7894
AlmaLinux:9grafana-selinux10.2.6-13.el9_6ALSA-2025:7893
Gogithub.com/grafana/grafanano fix listedGO-2025-3704
Gogithub.com/grafana/grafana0.0.0-20250521183405-c7a690348df7GHSA-q53q-gxq9-mgrj
Rocky Linux:10grafana0:10.2.6-17.el10_0RLSA-2025:7892
Rocky Linux:8grafana0:9.2.10-23.el8_10RLSA-2025:7894
Rocky Linux:9grafana0:10.2.6-13.el9_6RLSA-2025:7893

Affected products (as reported)

VendorProductVersions
Grafana Grafana 10.4.18+security-01 – before 10.4.1911.2.9+security-01 – before 11.2.1011.3.6+security-01 – before 11.3.711.4.4+security-01 – before 11.4.511.5.4+security-01 – before 11.5.511.6.1+security-01 – before 11.6.212.0.0+security-01 – before 12.0.1

Weakness: CWE-79, CWE-601 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L

References