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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-20297

CVE-2025-20297: Splunk Enterprise XSS Vulnerability

CVE-2025-20297 is a cross-site scripting flaw in Splunk Enterprise and Cloud Platform that allows low-privileged users to execute unauthorized JavaScript. This post covers technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2025-20297 Overview

CVE-2025-20297 is a Cross-Site Scripting (XSS) vulnerability affecting Splunk Enterprise and Splunk Cloud Platform. The flaw exists in the pdfgen/render REST endpoint, where a low-privileged user without "admin" or "power" Splunk roles can craft a malicious payload that results in the execution of unauthorized JavaScript code in another user's browser. This vulnerability enables attackers to potentially hijack user sessions, steal sensitive data, or perform actions on behalf of authenticated users.

Critical Impact

A low-privileged attacker can exploit this XSS vulnerability to execute arbitrary JavaScript in the context of other users' browser sessions, potentially leading to credential theft, session hijacking, or further compromise of the Splunk environment.

Affected Products

  • Splunk Enterprise versions below 9.4.2, 9.3.4, and 9.2.6
  • Splunk Cloud Platform versions below 9.3.2411.102, 9.3.2408.111, and 9.2.2406.118

Discovery Timeline

  • 2025-06-02 - CVE-2025-20297 published to NVD
  • 2025-08-01 - Last updated in NVD database

Technical Details for CVE-2025-20297

Vulnerability Analysis

This vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation), commonly known as Cross-Site Scripting (XSS). The attack requires network access and user interaction, where a victim must interact with a maliciously crafted link or content. The scope is changed, meaning the vulnerable component impacts resources beyond its security scope—in this case, the victim's browser session.

The vulnerability allows attackers with low-level privileges to bypass the expected authorization model. Even without administrative access to Splunk, an attacker can leverage the pdfgen/render endpoint to inject malicious scripts that execute in the security context of other users who may have elevated privileges.

Root Cause

The root cause of CVE-2025-20297 lies in insufficient input validation and output encoding within the pdfgen/render REST endpoint. User-supplied data is not properly sanitized before being rendered in the response, allowing attackers to inject JavaScript payloads that execute when the content is processed by a victim's browser.

The PDF generation functionality fails to adequately neutralize special characters and script content, creating an injection point that bypasses normal security controls.

Attack Vector

The attack is conducted over the network and requires user interaction. An attacker with low-level Splunk privileges crafts a malicious request to the pdfgen/render endpoint containing JavaScript payloads. When another user—potentially with higher privileges—accesses the rendered content, the malicious JavaScript executes in their browser context.

The vulnerability exploits insufficient input sanitization in the PDF rendering pipeline. An attacker constructs a request containing embedded JavaScript that bypasses input filtering. When processed by the pdfgen/render endpoint and rendered in a victim's browser, the unsanitized script executes with the victim's session context. For detailed technical information, refer to the Splunk Security Advisory SVD-2025-0601.

Detection Methods for CVE-2025-20297

Indicators of Compromise

  • Unusual or malformed requests to the pdfgen/render REST endpoint containing script tags or JavaScript event handlers
  • Splunk internal logs showing access to the pdfgen/render endpoint from low-privileged user accounts
  • Browser-side alerts or anomalous behavior following interaction with Splunk-generated PDF content

Detection Strategies

  • Monitor Splunk access logs for suspicious patterns in requests to /services/pdfgen/render containing encoded script payloads or HTML entities
  • Implement web application firewall (WAF) rules to detect and block XSS patterns in requests to Splunk endpoints
  • Review audit logs for low-privileged users making repeated requests to the PDF generation functionality
  • Deploy endpoint detection to identify browser-based script injection attempts originating from Splunk sessions

Monitoring Recommendations

  • Enable detailed logging for Splunk REST API endpoints, particularly pdfgen/render
  • Configure SIEM alerts for requests containing common XSS payload patterns such as <script>, javascript:, or event handlers like onerror, onload
  • Monitor for session anomalies where low-privileged accounts trigger actions typically associated with administrative users
  • Implement Content Security Policy (CSP) headers to mitigate the impact of successful XSS exploitation

How to Mitigate CVE-2025-20297

Immediate Actions Required

  • Upgrade Splunk Enterprise to version 9.4.2, 9.3.4, or 9.2.6 or later depending on your release branch
  • Upgrade Splunk Cloud Platform to version 9.3.2411.102, 9.3.2408.111, or 9.2.2406.118 or later
  • Review user accounts with access to the pdfgen/render endpoint and apply principle of least privilege
  • Audit recent access logs for exploitation attempts prior to patching

Patch Information

Splunk has released security updates addressing this vulnerability. Organizations should apply the appropriate patch based on their deployment version. Detailed patch information and upgrade instructions are available in the Splunk Security Advisory SVD-2025-0601.

ProductFixed Versions
Splunk Enterprise9.4.2, 9.3.4, 9.2.6
Splunk Cloud Platform9.3.2411.102, 9.3.2408.111, 9.2.2406.118

Workarounds

  • Restrict access to the pdfgen/render endpoint to only trusted users with legitimate business needs
  • Implement network-level controls to limit access to Splunk REST APIs from untrusted network segments
  • Deploy a Web Application Firewall (WAF) with XSS detection rules in front of Splunk web interfaces
  • Consider temporarily disabling PDF generation functionality if not critical to operations until patches can be applied
bash
# Example: Restrict access to pdfgen endpoint via Splunk authorize.conf
# Add to $SPLUNK_HOME/etc/system/local/authorize.conf

[capability::run_pdfgen]
grantableRoles = admin;power

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechSplunk

  • SeverityMEDIUM

  • CVSS Score5.4

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Vendor Resources
  • Splunk Security Advisory SVD-2025-0601
  • Related CVEs
  • CVE-2026-20162: Splunk Enterprise Stored XSS Vulnerability

  • CVE-2023-46213: Splunk Cloud XSS Vulnerability

  • CVE-2023-40592: Splunk Enterprise XSS Vulnerability

  • CVE-2022-32154: Splunk Enterprise XSS Vulnerability
Default Legacy - Prefooter | 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