Vulnerability · Published Mar 26, 2026 · Assigned by GitHub_M
CVE-2026-34071Stirling-PDF has Stored Cross Site Scripting (XSS) via EML-to-HTML Export
Medium 5.4
In plain English
A medium-severity cross-site scripting in Stirling-PDF from Stirling-Tools. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 19% of all known vulnerabilities).
Official description
Stirling-PDF is a locally hosted web application that allows you to perform various operations on PDF files. In version 2.7.3, the /api/v1/convert/eml/pdf endpoint with parameter downloadHtml=true returns unsanitized HTML from the email body with Content-Type: text/html. An attacker who sends a malicious email to a Stirling-PDF user can achieve JavaScript execution when that user exports the email using the "Download HTML intermediate file" feature. Version 2.8.0 fixes the issue.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Stirling-Tools | Stirling-PDF | = 2.7.3 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N