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
Share

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

Lifecycle Timeline

3
EUVD ID Assigned
Mar 26, 2026 - 17:15 euvd
EUVD-2026-16271
Analysis Generated
Mar 26, 2026 - 17:15 vuln.today
CVE Published
Mar 26, 2026 - 17:00 nvd
MEDIUM 5.4

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.

AnalysisAI

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.

Technical ContextAI

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.

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.

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

CVE-2026-41580 MEDIUM
6.1 Jul 15

Stored cross-site scripting in Stirling-PDF's /get-info-on-pdf endpoint allows attacker-controlled JavaScript to execute

CVE-2026-33436 LOW
3.1 Apr 17

Reflected cross-site scripting (XSS) in Stirling-PDF versions before 2.0.0 allows unauthenticated remote attackers to ex

CVE-2025-55151 HIGH
8.6 Aug 11

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

Share

CVE-2026-34071 vulnerability details – vuln.today

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