Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessUpload PDF with XSS payload in Title/Author metadata
-
DeliveryVictim navigates to /get-info-on-pdf endpoint
-
ExploitUnencoded metadata reflected into HTML response
-
ExecutionInjected JavaScript executes in victim's browser within Stirling-PDF origin
-
ImpactSession tokens or user actions exfiltrated to attacker
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. |
| Exploitation Conditions | Exploitation requires two sequential conditions: first, the attacker must be able to submit a crafted PDF with JavaScript embedded in the Title or Author metadata fields to the Stirling-PDF instance (via the upload interface or API); second, a victim user must navigate to the /get-info-on-pdf endpoint to view that file's metadata. Per the CVSS PR:N metric, no authentication is required on the attacker's side to trigger the vulnerability, but user interaction (UI:R) from a victim is mandatory - the XSS fires only on active page view, not passively. The vulnerability is constrained to versions prior to 2.0.0. Single-user deployments have negligible exploitability since attacker and victim are the same principal. The attack surface grows substantially in multi-user or internet-exposed deployments where untrusted parties can upload files and authenticated users later review them. |
| Impact | The CVSS 6.1 Medium rating reflects AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - network-reachable, low complexity, no attacker authentication required, but user interaction is necessary. No EPSS data was provided in the intelligence, so exploitation probability from that signal is unknown. There is no CISA KEV listing and no public exploit code has been identified at time of analysis, making this a disclosed but not demonstrably weaponized issue. Real-world risk is context-dependent: for single-user, non-networked deployments the attacker and victim are the same person, yielding negligible impact; for multi-user or externally accessible deployments, any user with PDF upload access can target others. The Changed Scope metric elevates concern above typical reflected XSS because successful exploitation crosses the application trust boundary within the browser. The primary limiting factor is the required UI:R - a victim must actively navigate to the info endpoint for the payload to fire. |
| Exploit ScenarioDerived | An attacker uploads a crafted PDF to a Stirling-PDF instance where the file's Title or Author metadata contains a JavaScript payload such as a cookie-stealing script. When a second user navigates to the /get-info-on-pdf endpoint to inspect that file, the unencoded metadata renders in their browser and the script executes within the Stirling-PDF application origin, exfiltrating session tokens or forging requests on the victim's behalf. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 15, 2026
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.
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.
Affected VersionsENISA
Affected Packages
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 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.
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
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
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.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.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.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Stirling Pdf
View allStirling-PDF is a locally hosted web application that performs various operations on PDF files. Rated high severity (CVS
Stirling-PDF is a locally hosted web application that performs various operations on PDF files. Rated high severity (CVS
Stirling-PDF 2.13.2 through 3.2.0 lets an authenticated administrator regain Java method execution by uploading a crafte
Stirling-PDF is a locally hosted web application that allows you to perform various operations on PDF files. Rated high
Authenticated users on multi-user Stirling-PDF 3.0.0 through 3.2.0 can reach other tenants' stored documents by creating
Server-side request forgery in Stirling-PDF's POST /api/v1/convert/url/pdf endpoint allows unauthenticated remote attack
Privilege escalation in Stirling-PDF before 2.9.0 allows any authenticated ROLE_USER to obtain the privileged STIRLING-P
Stored cross-site scripting in Stirling-PDF prior to version 2.0.0 allows an attacker to embed JavaScript payloads insid
Stirling-PDF, a locally hosted web application for PDF operations, contains a path traversal vulnerability in the /api/v
Stirling-PDF before 3.0.0 lets remote attackers turn its AI PDF tool into a server-side request forgery and local file d
Stirling-PDF versions 2.1.5 through 2.5.1 are vulnerable to resource exhaustion denial of service through the watermark
A vulnerability was found in Stirling-Tools Stirling-PDF up to 0.28.3. Rated low severity (CVSS 2.3), this vulnerability
EUVD-2026-44691
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB