cve.bz

CVE-2025-6023 grafana grafana: Cross-site Scripting

7.6 highEPSS 58%Fix available

High (7.6) in grafana grafana. EPSS 58% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/grafana/grafana 1.9.2-0.20250521205822-0ba0b99665a9.

On this page
An open redirect vulnerability has been identified in Grafana OSS that can be exploited to achieve XSS attacks. The vulnerability was introduced in Grafana v11.5.0. The open redirect can be chained with path traversal vulnerabilities to achieve XSS. Fixed in versions 12.0.2+security-01, 11.6.3+security-01, 11.5.6+security-01, 11.4.6+security-01 and 11.3.8+security-01

Severity

CVSS 3.1

7.6 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L
EPSS
58% (unchanged from 58% a week ago; 58% 30 days ago) estimated probability of exploitation activity in the next 30 days; 99th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-07-18. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
CWE-601 URL Redirection to Untrusted Site (Open Redirect)
OWASP Top 10
A01:2025 Broken Access Control, A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-6023 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-6023?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-6023?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-6023 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Grafanafrom 12.0.x before 12.0.2+security-01
Grafanafrom 11.6.x before 11.6.3+security-01
Grafanafrom 11.5.x before 11.5.6+security-01
Grafanafrom 11.4.x before 11.4.6+security-01
Grafanafrom 11.3.x before 11.3.8+security-01

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-vqph-p5vc-g644Gogithub.com/grafana/grafana<1.9.2-0.20250521205822-0ba0b99665a91.9.2-0.20250521205822-0ba0b99665a9
GO-2025-3817Gogithub.com/grafana/grafanaall versionsno fix published

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu16.04:LTSgrafanano fix listedUBUNTU-CVE-2025-6023
SUSELinux Enterprise Module for Package Hub 15 SP6, Linux Enterprise Module for Package Hub 15 SP7grafana11.5.10-150200.3.80.1SUSE-SU-2025:4482-1
SUSEManager Client Tools 12golang-github-prometheus-alertmanager0.28.1-1.34.1SUSE-SU-2025:4457-1
SUSEManager Client Tools 12grafana11.5.10-1.87.1SUSE-SU-2025:4457-1
SUSEManager Client Tools 12mgr-push5.0.3-1.30.3SUSE-SU-2025:4457-1
SUSEManager Client Tools 12rhnlib5.0.6-21.55.1SUSE-SU-2025:4457-1
SUSEManager Client Tools 12spacecmd5.0.14-38.162.1SUSE-SU-2025:4457-1
SUSEManager Client Tools 12supportutils-plugin-susemanager-client5.0.5-6.36.1SUSE-SU-2025:4457-1
SUSEManager Client Tools 12uyuni-tools0.1.37-1.27.1SUSE-SU-2025:4457-1
SUSEManager Client Tools 15grafana11.5.10-150000.1.87.1SUSE-SU-2025:4458-1
SUSEManager Client Tools 15mgr-push5.0.3-150000.1.30.1SUSE-SU-2025:4458-1
SUSEManager Client Tools 15rhnlib5.0.6-150000.3.49.1SUSE-SU-2025:4458-1
SUSEManager Client Tools 15spacecmd5.0.14-150000.3.139.1SUSE-SU-2025:4458-1
22 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.6dracut-saltboot1.0.0-150000.1.62.1SUSE-SU-2025:4458-1
openSUSELeap 15.6grafana11.5.10-150200.3.80.1SUSE-SU-2025:4482-1
openSUSELeap 15.6spacecmd5.0.14-150000.3.139.1SUSE-SU-2025:4458-1
openSUSELeap 15.6supportutils-plugin-susemanager-client5.0.5-150000.3.30.1SUSE-SU-2025:4458-1
openSUSETumbleweedgovulncheck-vulndb0.0.20250730T213748-1.1openSUSE-SU-2025:15405-1
openSUSETumbleweedgrafana11.6.3+security01-1.1openSUSE-SU-2025:15372-1

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

No Red Hat products or offerings are affected by this vulnerability. As the version of grafana (9.2.10/10.2.6) shipped in this version of Red Hat Enterprise Linux is not vulnerable to this CVE. The vulnerable versions listed in the CVE posting are 12.0.x, 11.6.x, 11.5.x, 11.4.x, and 11.3.x, which are all not in Red Hat Enterprise Linux.

This vulnerability is Important because it combines two high-impact vectors—open redirect and stored/reflected XSS—without the common mitigation of requiring elevated permissions. The lack of an editor-role requirement drastically expands the attack surface, enabling exploitation by any unauthenticated attacker if anonymous access is enabled. In Grafana deployments that allow public or wide internal access, an attacker could craft a malicious link that both redirects users to attacker-controlled domains and executes arbitrary JavaScript in scripted dashboards. This can directly lead to session hijacking, credential theft, or full account compromise, potentially allowing an attacker to modify dashboards, extract sensitive data from Grafana data sources, or pivot into connected systems.

Red Hat's mitigation

Alternatively, you can block this attack by adding the default Content Security Policy configuration as suggested in the Grafana Documentation.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10grafanaNot affected
Red Hat Enterprise Linux 8grafanaNot affected
Red Hat Enterprise Linux 9grafanaNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-6023.

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

  • Emerging Threats Open ET WEB_SPECIFIC_APPS Grafana Server-Side Open Redirect (CVE-2025-6023) sid 2066502

Attack patterns (CAPEC)

  • CAPEC-178 Cross-Site Flashing Likelihood: Medium · Severity: Medium
  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON