What’s Vulnerable › Vulnerabilities

CVE-2026-41580: Stirling-PDF: Reflected XSS through crafted PDF metadata fields (Title and Author)

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

How to fix

Upgrade to a fixed version: Stirling Pdf 2.0.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-41580 or the next vulnerability affects your stack