Stirling-PDF: Reflected XSS through crafted PDF metadata fields (Title and Author)
Stirling-Tools Stirling-PDF
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Stirling-Tools Stirling-PDF |
| No fix yet |
Original 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.
From the CVE record · GitHub_M