Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-2026-33436

CVE-2026-33436: Stirling-PDF XSS Vulnerability

CVE-2026-33436 is a reflected XSS flaw in Stirling-PDF that allows attackers to execute malicious JavaScript through crafted filenames. This article covers technical details, affected versions, and mitigation steps.

Published: April 23, 2026

CVE-2026-33436 Overview

Stirling-PDF is a locally hosted web application that facilitates various operations on PDF files. A reflected Cross-Site Scripting (XSS) vulnerability exists in versions prior to 2.0.0 where file upload endpoints render user-supplied filenames directly into HTML using unsafe methods like innerHTML without proper sanitization. An attacker can craft a file with a malicious filename containing JavaScript that executes in the uploading user's browser context.

Critical Impact

Attackers can execute arbitrary JavaScript in the context of authenticated users, potentially leading to session hijacking, credential theft, or unauthorized actions within the Stirling-PDF application.

Affected Products

  • Stirling-PDF versions prior to 2.0.0

Discovery Timeline

  • 2026-04-17 - CVE CVE-2026-33436 published to NVD
  • 2026-04-20 - Last updated in NVD database

Technical Details for CVE-2026-33436

Vulnerability Analysis

This vulnerability is classified as Improper Input Validation (CWE-20) and manifests as a reflected Cross-Site Scripting (XSS) attack. The core issue stems from the application's handling of user-supplied filenames during file upload operations. When users upload files, the application takes the filename from the upload request and renders it directly into the HTML response without adequate sanitization or encoding.

The use of unsafe DOM manipulation methods, specifically innerHTML, allows the browser to interpret and execute any JavaScript code embedded within the filename string. This creates an attack surface where crafted filenames containing malicious script tags or event handlers are executed in the context of the user's browser session.

The vulnerability affects numerous upload endpoints across the application, significantly expanding the attack surface. Since Stirling-PDF is a locally hosted application used for PDF manipulation, successful exploitation could provide attackers access to sensitive documents being processed by the victim.

Root Cause

The root cause of this vulnerability is the direct use of innerHTML to render user-controlled filename data into the DOM without proper sanitization. When user input is inserted using innerHTML, the browser parses the content as HTML, allowing embedded script elements or event handlers to execute. Secure alternatives such as textContent or proper input encoding should be used when displaying user-supplied data.

Attack Vector

The attack requires network access and user interaction. An attacker must convince a victim to upload a specially crafted file with a malicious filename. The attack scenario typically involves:

  1. Attacker creates a file with a filename containing JavaScript payload (e.g., <img src=x onerror=alert(document.cookie)>.pdf)
  2. Attacker shares this file with the victim through social engineering
  3. Victim uploads the file to their Stirling-PDF instance
  4. The malicious filename is rendered unsafely, executing the JavaScript in the victim's browser
  5. The attacker's script runs with the victim's session privileges

The vulnerability mechanism involves filenames being passed directly to innerHTML in the upload response handling. When the browser parses this content, any embedded HTML tags including script elements are interpreted and executed. For detailed technical information, refer to the GitHub Security Advisory.

Detection Methods for CVE-2026-33436

Indicators of Compromise

  • Uploaded files with filenames containing HTML tags, script elements, or event handlers such as <script>, <img>, onerror=, or onclick=
  • Browser console errors or unexpected JavaScript execution during file upload operations
  • Unusual network requests originating from the Stirling-PDF application to external domains

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect and block filenames containing HTML/JavaScript patterns
  • Monitor application logs for file uploads with suspicious characters in filenames (angle brackets, event handlers)
  • Deploy Content Security Policy (CSP) headers to restrict inline script execution and mitigate XSS impact

Monitoring Recommendations

  • Enable verbose logging on file upload endpoints to capture all filename metadata
  • Configure browser-based security monitoring to detect anomalous script execution
  • Review upload logs regularly for patterns indicative of XSS payload attempts

How to Mitigate CVE-2026-33436

Immediate Actions Required

  • Upgrade Stirling-PDF to version 2.0.0 or later immediately
  • If immediate upgrade is not possible, restrict access to the Stirling-PDF instance to trusted users only
  • Implement Content Security Policy headers to mitigate the impact of potential XSS attacks
  • Educate users about the risks of uploading files from untrusted sources

Patch Information

The vulnerability has been fixed in Stirling-PDF version 2.0.0. Users should upgrade to this version or later to remediate the vulnerability. The fix involves proper sanitization of user-supplied filenames before rendering them in HTML and replacing unsafe innerHTML usage with secure alternatives like textContent. Refer to the GitHub Security Advisory for additional details on the patch.

Workarounds

  • Deploy the application behind a reverse proxy with input validation rules that strip or reject filenames containing HTML characters
  • Implement client-side filename validation before upload to reject files with suspicious characters
  • Configure strict Content Security Policy headers to prevent inline script execution
bash
# Example nginx configuration to add CSP headers
add_header Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline';" always;

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechStirling Pdf

  • SeverityLOW

  • CVSS Score3.1

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-20
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-34071: Stirling-PDF XSS Vulnerability

  • CVE-2026-33438: Stirling-PDF DoS Vulnerability

  • CVE-2026-27625: Stirling-PDF Path Traversal Vulnerability

  • CVE-2025-55151: Stirling PDF SSRF 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