Stirling-PDF: Reflected XSS through crafted PDF metadata fields (Title and Author)
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Stirling-Tools | Stirling-PDF | before 2.0.0 | 2.0.0 | Patch available | CNA |
- Stirling-PDF VendorStirling-Tools Affected before 2.0.0 Fixed in 2.0.0 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:stirling:stirling_pdf:*:*:*:*:*:*:*:* | before 2.0.0 | Vulnerable | Stirling-Tools |
- cpe:2.3:a:stirling:stirling_pdf:*:*:*:*:*:*:*:* Versions before 2.0.0 Vulnerable ·Stirling-Tools
Remediation
- Fix · CNA Stirling-PDF (Stirling-Tools) Fixed in 2.0.0
Timeline
- 2026-10-02 Threatist record created from CVE-2026-41580
References
More Stirling-Tools Stirling Pdf vulnerabilities
- TI-2026-22007 Stirling-PDF Zip Slip: Arbitrary File Write via Path Traversal in Markdown-to-PDF ZIP Extraction CVSS 3.1HIGH 8.1
- TI-2026-25835 Stirling-PDF vulnerable to DoS via add-watermark CVSS 3.1MEDIUM 6.5
- TI-2026-26396 Stirling-PDF has Stored Cross Site Scripting (XSS) via EML-to-HTML Export CVSS 3.1MEDIUM 6.1
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences