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

- Severity: Low 3.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-17T20:29:43.262Z
- Modified: 2026-10-26T21:10:00.170Z
- Weaknesses: CWE-20, CWE-79, CWE-116
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- Stirling-Tools Stirling-PDF: < 2.0.0
- stirlingpdf stirling_pdf: before 2.0.0

## Every score

- GitHub_M: CVSS:3.1 3.1 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/Stirling-Tools/Stirling-PDF/security/advisories/GHSA-q5j3-4m5w-wp75> (exploit, vendor-advisory)

## Sources

- CVE List: [CVE-2026-33436](https://www.cve.org/CVERecord?id=CVE-2026-33436), CVE Terms of Use, modified 2026-04-20
- NVD: [CVE-2026-33436](https://nvd.nist.gov/vuln/detail/CVE-2026-33436), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-33436 · Whole record: https://cve.day/CVE-2026-33436.json · Rebuilt by cve.day 2026-11-25T22:59:18.963Z
