CVE-2026-41580 Stirling-PDF: Reflected XSS through crafted PDF metadata fields (Title and Author)
MediumCVSS 6.1
EPSS 0.27%
- Published
- Updated
- Exploit status
- No public exploit known
Description
Stirling-PDF is a locally hosted web application that facilitates various operations on PDF files. Prior to 2.0.0, Stirling-PDF's /get-info-on-pdf endpoint rendered PDF Title and Author metadata fields without proper HTML encoding or sanitization, allowing a crafted PDF to execute attacker-controlled JavaScript in the browser of a user who views the resulting page. This issue is fixed in version 2.0.0.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Stirling-Tools Stirling-PDF | = < 2.0.0 | No fix listed |
| stirling pdf | < 2.0.0 | 2.0.0 |
References
- https://github.com/Stirling-Tools/Stirling-PDF/security/advisories/GHSA-rjjx-43g5-mp76 exploit vendor-advisory
- https://github.com/Stirling-Tools/Stirling-PDF/releases/tag/v2.0.0 product release-notes