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 trend (30 days)EPSS over the last 30 days for CVE-2026-34071: held from 0.003 to 0.003.

EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: +0.001

Affected products

Weakness classification (CWE)

References

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.