The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-6023

CVE-2025-6023: Grafana OSS Open Redirect XSS Vulnerability

CVE-2025-6023 is an open redirect vulnerability in Grafana OSS that can be exploited to achieve XSS attacks when chained with path traversal flaws. This article covers the technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2025-6023 Overview

An open redirect vulnerability has been identified in Grafana OSS that can be exploited to achieve Cross-Site Scripting (XSS) attacks. The vulnerability was introduced in Grafana v11.5.0 and allows attackers to chain open redirect behavior with path traversal vulnerabilities to execute arbitrary JavaScript in the context of a victim's browser session.

This vulnerability poses a significant risk to organizations using affected Grafana versions, as successful exploitation could lead to session hijacking, credential theft, and unauthorized access to sensitive monitoring data and dashboards.

Critical Impact

Attackers can chain the open redirect with path traversal to achieve XSS, potentially compromising user sessions and accessing sensitive monitoring infrastructure data.

Affected Products

  • Grafana OSS versions 11.5.0 through 11.5.5
  • Grafana OSS versions 11.6.0 through 11.6.2
  • Grafana OSS versions 12.0.0 through 12.0.1

Discovery Timeline

  • 2025-07-17 - Grafana releases security patches addressing the vulnerability
  • 2025-07-18 - CVE CVE-2025-6023 published to NVD
  • 2025-07-22 - Last updated in NVD database

Technical Details for CVE-2025-6023

Vulnerability Analysis

This vulnerability combines two attack techniques: open redirect and path traversal, which together enable XSS attacks against Grafana users. Open redirect vulnerabilities occur when an application accepts user-controlled input that specifies a URL for redirection without proper validation. In this case, the open redirect functionality in Grafana can be manipulated to redirect users to attacker-controlled resources or, more critically, to internal paths that expose XSS attack surfaces.

The vulnerability is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation), indicating that user-supplied data is not properly sanitized before being reflected in the application's output. When combined with path traversal techniques, attackers can bypass security controls and inject malicious scripts into the browser context.

The attack requires user interaction—a victim must click on a malicious link—but no authentication is required from the attacker's perspective. Successful exploitation can result in high confidentiality impact through session token theft, with lower but still significant integrity and availability impacts.

Root Cause

The root cause stems from insufficient validation of URL parameters used in redirect operations within Grafana OSS. The application fails to properly sanitize and validate redirect destinations, allowing attackers to specify arbitrary paths including those that traverse the application's directory structure. This improper input validation enables the injection of malicious payloads that execute within the victim's browser session.

Attack Vector

The attack is network-based and requires minimal complexity to execute. An attacker crafts a malicious URL containing the open redirect payload combined with path traversal sequences. When a victim clicks this link, the Grafana application processes the request and redirects the user's browser in a way that exposes the XSS vulnerability.

The attack chain typically follows this pattern:

  1. Attacker identifies a vulnerable redirect endpoint in Grafana
  2. Attacker crafts a URL combining open redirect with path traversal to reach an XSS-vulnerable context
  3. Victim receives the malicious link through phishing or other social engineering
  4. Victim clicks the link while authenticated to Grafana
  5. Malicious JavaScript executes in the victim's browser with access to their Grafana session

Due to the nature of this vulnerability, technical exploitation details are available in the Grafana Security Advisory. Organizations should review this advisory for complete technical information.

Detection Methods for CVE-2025-6023

Indicators of Compromise

  • Unusual URL patterns in Grafana access logs containing path traversal sequences such as ../ or encoded variants
  • HTTP requests to Grafana endpoints with suspicious redirect parameters pointing to external domains
  • Browser-based alerts or anomalies reported by users accessing Grafana dashboards
  • Unexpected authentication token usage patterns or session anomalies following link clicks

Detection Strategies

  • Monitor web application firewall (WAF) logs for requests containing path traversal patterns targeting Grafana endpoints
  • Implement content security policy (CSP) violation monitoring to detect unauthorized script execution attempts
  • Deploy network intrusion detection signatures for open redirect exploitation patterns
  • Review Grafana access logs for unusual redirect chains or suspicious referrer headers

Monitoring Recommendations

  • Enable verbose logging on Grafana instances to capture full URL parameters in access logs
  • Configure alerts for high volumes of redirect-related requests from single IP addresses
  • Monitor for CSP violation reports indicating potential XSS exploitation attempts
  • Implement user behavior analytics to detect session hijacking following potential XSS attacks

How to Mitigate CVE-2025-6023

Immediate Actions Required

  • Upgrade Grafana OSS to a patched version immediately: 12.0.2+security-01, 11.6.3+security-01, 11.5.6+security-01, 11.4.6+security-01, or 11.3.8+security-01
  • Audit access logs for signs of exploitation prior to patching
  • Invalidate existing user sessions after applying the patch as a precautionary measure
  • Notify users about the security update and advise against clicking untrusted Grafana links

Patch Information

Grafana has released security patches addressing this vulnerability across multiple version branches. Organizations should upgrade to the following fixed versions based on their current deployment:

Current VersionUpgrade To
12.0.x12.0.2+security-01
11.6.x11.6.3+security-01
11.5.x11.5.6+security-01
11.4.x11.4.6+security-01
11.3.x11.3.8+security-01

For detailed patch information and download links, refer to the Grafana Security Release Blog Post.

Workarounds

  • Deploy a Web Application Firewall (WAF) with rules to block requests containing path traversal patterns and suspicious redirect parameters
  • Implement strict Content Security Policy headers to mitigate XSS impact if exploitation occurs before patching
  • Restrict network access to Grafana instances using firewall rules to limit exposure to trusted IP ranges
  • Consider placing Grafana behind an authentication proxy that validates all redirect destinations
bash
# Example Nginx configuration to block path traversal attempts
location /grafana/ {
    # Block requests containing path traversal patterns
    if ($request_uri ~* "\.\.\/") {
        return 403;
    }
    
    # Add security headers
    add_header Content-Security-Policy "default-src 'self'; script-src 'self'" always;
    add_header X-Content-Type-Options "nosniff" always;
    add_header X-Frame-Options "SAMEORIGIN" always;
    
    proxy_pass http://grafana-backend:3000/;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechGrafana

  • SeverityHIGH

  • CVSS Score7.6

  • EPSS Probability5.14%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityLow
  • CWE References
  • CWE-79
  • Technical References
  • Grafana Blog Security Release

  • Grafana Security Advisory CVE-2025-6023
  • Related CVEs
  • CVE-2026-32117: Grafana Cubism Panel XSS Vulnerability

  • CVE-2025-41117: Grafana Explore Traces XSS Vulnerability

  • CVE-2025-4123: Grafana XSS Vulnerability via Redirect

  • CVE-2023-22462: Grafana Text Plugin XSS Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English