Skip to content
OpenAdvisories
Medium · 5.4 CVE-2026-34071 EUVD-2026-16271

Stirling-PDF has Stored Cross Site Scripting (XSS) via EML-to-HTML Export

Published Mar 26, 2026 · Updated Mar 26, 2026 · 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.

Affected products

VendorProductAffectedFixed
Stirling-Tools Stirling-PDF = 2.7.3 —

References