{"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-04-10T05:42:59.735750Z","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":"0"},{"last_affected":"3376a87f15291ae50795ad82f56301756c3cf2fd"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"= 2.7.3"}]}}],"versions":["0.13.0","stirling-pdf-chart-1.0.1","v0.10.0","v0.10.1","v0.10.2","v0.10.3","v0.12.0","v0.12.1","v0.12.2","v0.13.0","v0.13.1","v0.14.0","v0.14.1","v0.14.2","v0.14.3","v0.14.4","v0.14.5","v0.15.0","v0.15.1","v0.16.0","v0.16.1","v0.17.0","v0.17.1","v0.17.2","v0.18.0","v0.18.1","v0.19.0","v0.19.1","v0.20.0","v0.20.1","v0.20.2","v0.21.0","v0.22.0","v0.22.1","v0.22.2","v0.22.3","v0.22.4","v0.22.5","v0.22.6","v0.22.7","v0.22.8","v0.23.0","v0.23.1","v0.24.0","v0.24.1","v0.24.2","v0.24.3","v0.24.4","v0.24.5","v0.24.6","v0.25.0","v0.25.1","v0.25.2","v0.25.3","v0.26.0","v0.26.1","v0.27.0","v0.28.0","v0.28.1","v0.28.2","v0.28.3","v0.29.0","v0.3.0","v0.3.2","v0.3.3","v0.3.4","v0.30.0","v0.30.1","v0.31.0","v0.31.1","v0.32.0","v0.33.0","v0.33.1","v0.34.0","v0.35.0","v0.35.1","v0.36.0","v0.36.1","v0.36.2","v0.36.3","v0.36.4","v0.36.5","v0.36.6","v0.37.0","v0.37.1","v0.38.0","v0.39.0","v0.4.0","v0.4.2","v0.4.3","v0.4.4","v0.4.5","v0.4.6","v0.4.7","v0.4.8","v0.40.0","v0.40.1","v0.40.2","v0.41.0","v0.42.0","v0.43.0","v0.43.1","v0.43.2","v0.44.0","v0.44.1","v0.44.2","v0.44.3","v0.45.0","v0.45.1","v0.45.2","v0.45.3","v0.45.4","v0.45.5","v0.45.6","v0.46.0","v0.46.1","v0.5.0","v0.6.0","v0.7.0","v0.8.0","v0.8.1","v0.8.2","v0.8.3","v0.9.0","v0.9.1","v2.0.0","v2.0.1","v2.0.2","v2.0.3","v2.1.0","v2.1.1","v2.1.2","v2.1.3","v2.1.4","v2.1.5","v2.2.0","v2.2.1","v2.3.0","v2.3.1","v2.4.0","v2.4.1","v2.4.2","v2.4.3","v2.4.4","v2.4.5","v2.4.6","v2.5.0","v2.5.1","v2.5.2","v2.5.3","v2.6.0","v2.7.0","v2.7.1","v2.7.2","v2.7.3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-34071.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"}]}