3.1Low

CVE-2026-33436Stirling-PDF: Reflected XSS through crafted filename in file upload functionality

Stirling-Tools Stirling-PDF Published: (7 months ago)

Description

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.

Weakness (CWE): CWE-20CWE-79CWE-116

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Stirling-Tools Stirling-PDF < 2.0.0
stirlingpdf stirling pdf < 2.0.0

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:stirlingpdf:stirling_pdf:*:*:*:*:*:*:*:* < 2.0.0