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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-79"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34071.json"
}{
"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:*:*:*:*:*:*:*"
}