Skip to content
Fencer Vulns
high 7.6

CVE-2025-4123 in the critical feed json

Grafana Cross-Site-Scripting (XSS) via custom loaded frontend plugin

published 2025-05-22 17 mo ago modified 2026-09-10 59 d ago also BIT-grafana-2025-4123 , EUVD-2025-16107 , GHSA-q53q-gxq9-mgrj , GO-2025-3704

cvss
7.6
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
97.1%
EPSS 97.1% chance of exploitation in 30 days, percentile 99.8%
public exploits
1
Exploit-DB, plus a Nuclei check

Summary

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.

Patch / fix

  • go github.com/grafana/grafana 0.0.0-20250521183405-c7a690348df7
  • bitnami grafana 10.4.18, 11.6.1, 12.0.0
  • Grafana Grafana 10.4.19, 11.2.10, 11.3.7, 11.4.5, 11.5.5, 11.6.2, 12.0.1
  • grafana RHEL 8 9.2.10-23.el8_10
  • grafana-selinux RHEL 8 9.2.10-23.el8_10
  • grafana RHEL 10.0 10.2.6-17.el10_0
  • grafana-selinux RHEL 10.0 10.2.6-17.el10_0
  • grafana RHEL 9 10.2.6-13.el9_6
  • grafana-selinux RHEL 9 10.2.6-13.el9_6
  • grafana RHEL 8.8 TUS, RHEL 8.8 E4S 7.5.15-7.el8_8
  • grafana RHEL 8.4 AUS 7.3.6-9.el8_4

red hat advisories RHSA-2025:8685RHSA-2025:8683RHSA-2025:8684RHSA-2025:8680RHSA-2025:8681RHSA-2025:8679

  • release-notes-susemanager Manager Server 4.3 4.3.15.2-150400.3.133.1

suse advisories SUSE-SU-2025:01985-1

  • govulncheck-vulndb openSUSE Tumbleweed 0.0.20250527T204717-1.1
  • grafana openSUSE Tumbleweed 11.6.1+security01-1.1

opensuse advisories openSUSE-SU-2025:15179-1openSUSE-SU-2025:15171-1

  • grafana AlmaLinux 9 10.2.6-13.el9_6
  • grafana-selinux AlmaLinux 9 10.2.6-13.el9_6
  • grafana AlmaLinux 8 9.2.10-23.el8_10
  • grafana-selinux AlmaLinux 8 9.2.10-23.el8_10

almalinux advisories ALSA-2025:7893ALSA-2025:7894

  • grafana Rocky Linux 9 10.2.6-13.el9_6
  • grafana Rocky Linux 10 10.2.6-17.el10_0
  • grafana Rocky Linux 8 9.2.10-23.el8_10

rocky linux advisories RLSA-2025:7893RLSA-2025:7892RLSA-2025:7894

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-4123 updated cvss 7.6

grafana: Cross-site Scripting (XSS) in Grafana via Custom Frontend Plugins and Open Redirect

  • Red Hat Enterprise Linux AppStream (v. 8) grafana 9.2.10-23.el8_10, grafana-selinux 9.2.10-23.el8_10
    fixed: vendor fix RHSA-2025:7894
  • Red Hat Enterprise Linux AppStream (v. 9) grafana 10.2.6-13.el9_6, grafana-selinux 10.2.6-13.el9_6
    fixed: vendor fix RHSA-2025:7893
  • Red Hat Enterprise Linux AppStream (v. 10) grafana 10.2.6-17.el10_0, grafana-selinux 10.2.6-17.el10_0
    fixed: vendor fix RHSA-2025:7892
  • Red Hat Enterprise Linux AppStream AUS (v. 8.2) grafana 6.3.6-7.el8_2, grafana-loki 6.3.6-7.el8_2, grafana-mssql 6.3.6-7.el8_2, grafana-mysql 6.3.6-7.el8_2, grafana-graphite 6.3.6-7.el8_2, grafana-influxdb 6.3.6-7.el8_2, +7 more
    fixed: vendor fix RHSA-2025:8684
  • Red Hat Enterprise Linux AppStream AUS (v.8.4) grafana 7.3.6-9.el8_4
    fixed: vendor fix RHSA-2025:8683
  • Red Hat Enterprise Linux AppStream AUS (v.8.6) grafana 7.5.11-6.el8_6 Red Hat Enterprise Linux AppStream E4S (v.8.6) grafana 7.5.11-6.el8_6
    fixed: vendor fix RHSA-2025:8679
  • Red Hat Enterprise Linux AppStream E4S (v.8.8) grafana 7.5.15-7.el8_8
    fixed: vendor fix RHSA-2025:8685
  • Red Hat Enterprise Linux AppStream E4S (v.9.0) grafana 7.5.11-10.el9_0
    fixed: vendor fix RHSA-2025:8681
show 4 more
  • Red Hat Enterprise Linux AppStream E4S (v.9.2) grafana 9.0.9-8.el9_2
    fixed: vendor fix RHSA-2025:8680
  • Red Hat Enterprise Linux AppStream EUS (v.9.4) grafana 9.2.10-23.el9_4, grafana-selinux 9.2.10-23.el9_4
    fixed: vendor fix RHSA-2025:8665
  • Red Hat Enterprise Linux AppStream TUS (v.8.6) grafana 7.5.11-6.el8_6
    fixed: vendor fix RHSA-2025:8679
  • Red Hat Enterprise Linux AppStream TUS (v.8.8) grafana 7.5.15-7.el8_8
    fixed: vendor fix RHSA-2025:8685

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Timeline

  1. Published
  2. First public exploit (EDB-52491)

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
17 mo ago

Exploit prediction

97.08% chance of exploitation in the next 30 days, higher than 99.8% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • EDB-52491 Grafana 11.6.0 - SSRF webapps, 2026-04-06
  • Nuclei template Grafana - XSS / Open Redirect / SSRF via Client Path Traversal nuclei detection template

CVSS scores

assigned by version score vector
CNA 3.1 7.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L
GitHub 3.1 7.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L
NVD 3.1 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV 3.1 7.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L

Affected packages

ecosystem package affected fixed in
go github.com/grafana/grafana
<0.0.0-20250521183405-c7a690348df7
all versions
0.0.0-20250521183405-c7a690348df7
bitnami grafana
<10.4.18
>=11.0.0, <11.6.1
>=12.0.0, <12.0.0
10.4.18
11.6.1
12.0.0

Affected products

  • Grafana Grafana

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation
  • CWE-601 URL Redirection to Untrusted Site

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.