# CVE-2026-34071: Stirling-PDF has Stored Cross Site Scripting (XSS) via EML-to-HTML Export

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-26T17:00:08.783Z
- Modified: 2026-06-17T10:38:31.127Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- Stirling-Tools Stirling-PDF: = 2.7.3
- stirling stirling_pdf: 2.7.3

## Every score

- GitHub_M: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/Stirling-Tools/Stirling-PDF/security/advisories/GHSA-xmhg-fv84-jgfc> (exploit, vendor-advisory)

## Sources

- CVE List: [CVE-2026-34071](https://www.cve.org/CVERecord?id=CVE-2026-34071), CVE Terms of Use, modified 2026-03-26
- NVD: [CVE-2026-34071](https://nvd.nist.gov/vuln/detail/CVE-2026-34071), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-34071 · Whole record: https://cve.day/CVE-2026-34071.json · Rebuilt by cve.day 2026-11-25T22:59:17.068Z
