CVE-2026-33436 Stirling-PDF: Reflected XSS through crafted filename in file upload functionality
MediumCVSS 6.1
EPSS 0.25%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| stirlingpdf stirling pdf | < 2.0.0 | 2.0.0 | Fixed |
| Stirling-Tools Stirling-PDF | = < 2.0.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Stirling-Tools Stirling-PDF | = < 2.0.0 | No fix listed |
| stirlingpdf stirling pdf | < 2.0.0 | 2.0.0 |
References
- https://github.com/Stirling-Tools/Stirling-PDF/security/advisories/GHSA-q5j3-4m5w-wp75 exploit vendor-advisory