Description
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.
Published: 2026-07-15
Score: 6.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Stirling‑PDF is a locally hosted web application that processes PDF files. In versions prior to 2.0.0, its /get‑info‑on‑pdf endpoint returned the PDF Title and Author metadata without proper HTML encoding or sanitization, allowing an attacker to embed malicious JavaScript. When a user opens a crafted PDF and views the resulting page, the browser executes the script, leading to reflected XSS.

Affected Systems

Stirling‑Tools Stirling‑PDF releases prior to version 2.0.0 are affected; the vulnerability is fixed starting in 2.0.0.

Risk and Exploitability

The CVSS score of 6.1 indicates moderate severity, while the EPSS score of less than 1% signals a low exploitation probability in the current threat landscape. The issue is not listed in the CISA KEV catalog. Exploitation requires an attacker to supply a crafted PDF that a user opens on the local web interface, making the risk primarily confined to users who interact with the /get‑info‑on‑pdf endpoint on a compromised or maliciously constructed PDF file. With no widespread active exploitation reported, the immediate threat remains limited but non‑negligible for exposed or shared installations.

Generated by OpenCVE AI on July 31, 2026 at 03:31 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Stirling‑PDF to version 2.0.0 or later
  • If upgrading is not immediately feasible, disable the /get‑info‑on‑pdf endpoint or restrict its use to trusted administrators
  • As a temporary measure, modify the rendering logic to escape or strip HTML from Title and Author metadata before display

Generated by OpenCVE AI on July 31, 2026 at 03:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 28 Jul 2026 20:45:00 +0000

Type Values Removed Values Added
First Time appeared Stirling
Stirling stirling Pdf
Vendors & Products Stirling
Stirling stirling Pdf

Wed, 15 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 15 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Description 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.
Title Stirling-PDF: Reflected XSS through crafted PDF metadata fields (Title and Author)
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}


Subscriptions

Stirling Stirling Pdf
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-15T15:33:13.431Z

Reserved: 2026-04-21T14:15:21.958Z

Link: CVE-2026-41580

cve-icon Vulnrichment

Updated: 2026-07-15T15:33:01.500Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T03:45:04Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')