CVE-2026-34071

MEDIUM

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

Title source: cna
STIX 2.1

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.

References (1)

Core 1
Core References

Scores

CVSS v3 5.4
EPSS 0.0026
EPSS Percentile 17.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-79
Status published
Products (3)
stirling/stirling_pdf 2.7.3
Stirling-Tools/Stirling-PDF = 2.7.3
stirlingpdf/stirling_pdf 2.7.3
Published Mar 26, 2026
Tracked Since Mar 26, 2026