CVE-2026-34071CWE-79

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

Medium · published March 26, 2026

CVSS v3.1
5.4
EPSS
0%
Percentile
23.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.4 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00313 · 23.0th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2026-03-26T17:00Z
EPSS history
Timeline
  • 26 MAR 17:00Z
    Stirling-PDF has Stored Cross Site Scripting (XSS) via EML-to-HTML Export
    cvelistv5