Skip to main content
VulnerabilityPublished

CVE-2026-34071: Stirling-PDF · Cross-site Scripting

Affects Stirling-PDFSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 5.4 Medium · fixed in 2.8.0 : update Stirling-PDF when convenient.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 3.1 base score
5.4Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 19% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.8.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 26 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
Stirling-ToolsStirling-PDFAffected
  • =2.7.3
Fixed in–
GitHubstirling-tools/Stirling-PDFpkg:github/stirling-tools/Stirling-PDFOther threatsAffected
  • =2.7.3
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

To mitigate CVE-2026-34071, organizations should immediately upgrade Stirling-PDF to version 2.8.0 or later, where the vulnerability is fixed. Until the upgrade is applied, restrict access to the /api/v1/convert/eml/pdf endpoint, especially the downloadHtml=true parameter, through network controls or application-layer firewalls. Educate users about the risks of exporting email content and encourage caution with emails from untrusted sources. Implement Content Security Policy (CSP) headers in the hosting environment to restrict execution of unauthorized scripts. Conduct regular security reviews of locally hosted web applications that process untrusted input, ensuring proper input validation and output encoding. Monitor logs for unusual export activity or attempts to access the vulnerable endpoint. Consider isolating the Stirling-PDF service in a segmented network zone to limit potential lateral movement if compromised. Finally, maintain updated backups and incident response plans to quickly address any exploitation attempts.

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

Community reviews

Loading reviews…