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

Thu, 26 Mar 2026 17:15:00 +0000

Type Values Removed Values Added
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.
Title Stirling-PDF has Stored Cross Site Scripting (XSS) via EML-to-HTML Export
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-03-26T17:00:08.783Z

Reserved: 2026-03-25T16:21:40.867Z

Link: CVE-2026-34071

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-03-26T17:16:41.647

Modified: 2026-03-26T17:16:41.647

Link: CVE-2026-34071

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.