XSS in Stirling Pdf
CVE-2026-34071
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.003 (21.8th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 22nd percentile — 21.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: +0.001
Affected products
- Stirling Pdf — versions 2.7.3
- Stirling-Tools Stirling-Pdf — versions = 2.7.3
Weakness classification (CWE)
References
- github.com/Stirling-Tools/Stirling-PDF/security/advisories/GHSA-xmhg-fv84-jgfc (Exploit, Vendor Advisory)
Frequently asked questions
- What is CVE-2026-34071?
- CVE-2026-34071 is a medium-severity vulnerability in Stirling Pdf, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2026-03-26.
- How severe is CVE-2026-34071?
- Medium severity. CVSS v3 base score is 5.4 out of 10.