CVE-2026-34071
March 26, 2026
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 Packages
https://github.com/Stirling-Tools/Stirling-PDF.git (GITHUB):
Affected version(s) >=v0.3.0 <v2.8.0Fix Suggestion:
Update to version v2.8.0https://github.com/Stirling-Tools/Stirling-PDF.git (GITHUB):
Affected version(s) >=v0.3.0 <v2.8.0Fix Suggestion:
Update to version v2.8.0https://github.com/Stirling-Tools/Stirling-PDF.git (GITHUB):
Affected version(s) >=v0.3.0 <v2.8.0Fix Suggestion:
Update to version v2.8.0https://github.com/Stirling-Tools/Stirling-PDF.git (GITHUB):
Affected version(s) >=v0.3.0 <v2.8.0Fix Suggestion:
Update to version v2.8.0https://github.com/Stirling-Tools/Stirling-PDF.git (GITHUB):
Affected version(s) >=v0.3.0 <v2.8.0Fix Suggestion:
Update to version v2.8.0https://github.com/Stirling-Tools/Stirling-PDF.git (GITHUB):
Affected version(s) >=v0.3.0 <v2.8.0Fix Suggestion:
Update to version v2.8.0Related Resources (1)
Do you need more information?
Contact UsCVSS v4
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.4
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
EPSS
Base Score:
0.04