Skip to main content
HIGH

CVE-2025-4123

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

CVSS v3

7.6

HIGH

EPSS Score

97.1 %

exploit probability, as of 2026-10-19

CISA KEV

No

known exploited

Exploitation

none

SSVC status

Get an alert for each new CVE published for grafana.

Set up CVE WatchFree account · no credit card

Affected and fixed versions

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • github.com/grafana/grafanaGoall versions · fixed in 0.0.0-20250521183405-c7a690348df7
  • grafanaBitnamiall versions · fixed in 10.4.18
  • grafanaAlmaLinux:9all versions · fixed in 10.2.6-13.el9_6and 1 other package
  • grafanaAlmaLinux:8all versions · fixed in 9.2.10-23.el8_10and 1 other package

Vendor advisories

  • CVE-2025-4123 Red Hat Product Security131 products fixed

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

  • RHSA-2025:8680 Red Hat Product Security13 products fixed

    Red Hat Security Advisory: grafana security update

  • RHSA-2025:8679 Red Hat Product Security15 products fixed

    Red Hat Security Advisory: grafana security update

  • RHSA-2025:8681 Red Hat Product Security9 products fixed

    Red Hat Security Advisory: grafana security update

  • RHSA-2025:8683 Red Hat Product Security3 products fixed

    Red Hat Security Advisory: grafana security update

  • RHSA-2025:8685 Red Hat Product Security8 products fixed

    Red Hat Security Advisory: grafana security update

5 more advisories

Full record on NVD

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.

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L
Published
2025-05-22
Last Modified
2026-04-29
Exploit-DB
EDB-52491

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.

Is CVE-2025-4123 actively exploited?

Active exploitation of CVE-2025-4123 has not been confirmed. Its EPSS score was 97.1% on 2026-10-19, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2025-4123?

CVE-2025-4123 has a CVSS v3 base score of 7.6 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L.

Running grafana? Hear about its next vulnerability

CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.

Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month