CVE-2026-41580 Stirling-PDF: Reflected XSS through crafted PDF metadata fields (Title and Author)
Attackers can execute arbitrary JavaScript in victim browsers via crafted PDF metadata fields in Stirling-PDF.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-41580?
CVE-2026-41580 is a medium-severity cross-site scripting vulnerability in Stirling-Tools Stirling-PDF, published on 15 Jul 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2026-41580?
It affects 1 product.
Products include Stirling Stirling Pdf.
How do I fix CVE-2026-41580?
No fix has been published for CVE-2026-41580 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-41580 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-41580 exists.
Other vulnerabilities in Stirling-Tools Stirling-PDF
Sources
Also known as GHSA-rjjx-43g5-mp76.