Skip to main content

Stirling-PDF CVE-2026-41580

| EUVDEUVD-2026-44691 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-07-15 GitHub_M
6.1
CVSS 3.1 · Vendor: GitHub_M
Share

Severity by source

Vendor (GitHub_M) PRIMARY
6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
vuln.today AI
6.1 MEDIUM

Network-reachable endpoint, no attacker auth required per description, but victim must actively view the info page (UI:R); scope changes because injected script executes in the application's browser origin with limited C/I impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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

Lifecycle Timeline

3
Patch available
Jul 15, 2026 - 17:48 EUVD
Source Code Evidence Fetched
Jul 15, 2026 - 15:46 vuln.today
Analysis Generated
Jul 15, 2026 - 15:46 vuln.today

DescriptionCVE.org

Stirling-PDF is a locally hosted web application that facilitates various operations on PDF files. Prior to 2.0.0, Stirling-PDF's /get-info-on-pdf endpoint rendered PDF Title and Author metadata fields without proper HTML encoding or sanitization, allowing a crafted PDF to execute attacker-controlled JavaScript in the browser of a user who views the resulting page. This issue is fixed in version 2.0.0.

AnalysisAI

Stored cross-site scripting in Stirling-PDF's /get-info-on-pdf endpoint allows attacker-controlled JavaScript to execute in any user's browser when they view metadata of a crafted PDF file. All versions prior to 2.0.0 are affected; the CVSS scope change (S:C) indicates injected scripts operate within the application's browser origin, enabling session hijacking or unauthorized actions. No public exploit code has been identified at time of analysis and this vulnerability has not been listed in CISA KEV.

Technical ContextAI

Stirling-PDF is a self-hosted, open-source web application for PDF manipulation (CPE: cpe:2.3:a:stirling-tools:stirling-pdf:*:*:*:*:*:*:*:*). The /get-info-on-pdf endpoint extracts and renders PDF document metadata - specifically the Title and Author fields - directly into the HTML response. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation): metadata values are reflected without HTML encoding or sanitization, so any JavaScript embedded in those fields executes when a browser renders the page. The CVSS S:C (Scope Changed) metric confirms the injected script runs in the Stirling-PDF web origin's context, where it can access cookies, local storage, and perform authenticated API calls on behalf of the victim.

RemediationAI

Upgrade to Stirling-PDF version 2.0.0, which resolves this issue per the GitHub security advisory GHSA-rjjx-43g5-mp76 (https://github.com/Stirling-Tools/Stirling-PDF/security/advisories/GHSA-rjjx-43g5-mp76). Note that v2.0.0 is a major release with a redesigned UI, new licensing model, and significant configuration changes; the maintainers explicitly recommend backing up the config directory before upgrading production deployments. If immediate upgrade is not feasible, restrict access to the /get-info-on-pdf endpoint via reverse-proxy ACLs or WAF rules - this prevents the payload from being rendered, but disables PDF metadata inspection for all users. Additionally, limiting upload permissions to trusted users reduces the attacker's ability to plant a malicious PDF, though this is a partial control and not a substitute for patching.

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-34071 MEDIUM
5.4 Mar 26

Stirling-PDF version 2.7.3 fails to sanitize HTML content from email bodies in the /api/v1/convert/eml/pdf endpoint when

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-41580 vulnerability details – vuln.today

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