CVE-2026-41580 PUBLISHED

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

Assigner: GitHub_M
Reserved: 21.04.2026 Published: 15.07.2026 Updated: 15.07.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS Score: 6.1

Product Status

Vendor Stirling-Tools
Product Stirling-PDF
Versions
  • Version < 2.0.0 is affected

References

Problem Types

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') CWE