{"id":"CVE-2026-34071","summary":"Stirling-PDF has Stored Cross Site Scripting (XSS) via EML-to-HTML Export","details":"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.","aliases":["GHSA-xmhg-fv84-jgfc"],"modified":"2026-08-12T03:51:47.438415702Z","published":"2026-03-26T17:00:08.783Z","database_specific":{"cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34071.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34071.json"},{"type":"ADVISORY","url":"https://github.com/Stirling-Tools/Stirling-PDF/security/advisories/GHSA-xmhg-fv84-jgfc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34071"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/stirling-tools/stirling-pdf","events":[{"introduced":"3376a87f15291ae50795ad82f56301756c3cf2fd"},{"last_affected":"3376a87f15291ae50795ad82f56301756c3cf2fd"}],"database_specific":{"extracted_events":[{"introduced":"= 2.7.3"},{"last_affected":"= 2.7.3"},{"introduced":"2.7.3"},{"last_affected":"2.7.3"}],"source":["AFFECTED_FIELD","CPE_STRING"],"cpe":"cpe:2.3:a:stirling:stirling_pdf:2.7.3:*:*:*:*:*:*:*"}}],"versions":["2.7.3","= 2.7.3","v2.7.3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-34071.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"}]}