Description
Stirling-PDF is a locally hosted web application that facilitates various operations on PDF files. Prior to 2.0.0, the Get Info workflow in app/core/src/main/resources/templates/security/get-info-on-pdf.html inserts untrusted PDF Title and Author metadata into the summary-text element with innerHTML, allowing a malicious PDF to execute stored cross-site scripting when a user clicks Get Info and to access browser-session data or modify page content. This issue is fixed in version 2.0.0.
Published: 2026-08-17
Score: 8.1 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Stirling‑PDF’s Get Info workflow writes user‑controlled PDF Title and Author fields directly into a page element using innerHTML. A malicious PDF containing crafted metadata can trigger an arbitrary script on the user’s browser when they click Get Info, allowing the attacker to read or manipulate session data or modify the page content.

Affected Systems

Stirling‑Tools’ Stirling‑PDF application is affected in every release prior to version 2.0.0. Deployments running an earlier version are vulnerable; the issue was addressed in v2.0.0.

Risk and Exploitability

Based on the description, the vulnerability is rated high with a CVSS score of 8.1. Although EPSS is not available and it is not listed in CISA’s KEV, the local‑host nature of the application makes it accessible to an attacker who can supply a malicious PDF via local or shared storage. Once the user opens the PDF and uses the Get Info feature, the stored XSS payload executes in the user’s browser, potentially hijacking the session or injecting arbitrary content. The attack requires the victim to visit the application and view the malicious PDF; based on the description it is inferred that the malicious PDF could be delivered via shared files or phishing links on the host.

Generated by OpenCVE AI on August 17, 2026 at 19:48 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Stirling‑PDF to version 2.0.0 or later to apply the released fix for the XSS issue.
  • Validate or escape PDF Title and Author metadata before inserting it into the HTML document to prevent unchecked script execution.
  • Set a strict Content Security Policy or otherwise restrict the Get Info functionality to reduce the impact of any residual XSS vectors.

Generated by OpenCVE AI on August 17, 2026 at 19:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 17 Aug 2026 18:15: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, the Get Info workflow in app/core/src/main/resources/templates/security/get-info-on-pdf.html inserts untrusted PDF Title and Author metadata into the summary-text element with innerHTML, allowing a malicious PDF to execute stored cross-site scripting when a user clicks Get Info and to access browser-session data or modify page content. This issue is fixed in version 2.0.0.
Title Stirling PDF: Stored XSS in Info Summary
Weaknesses CWE-79
References
Metrics cvssV3_1

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


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-17T17:58:22.857Z

Reserved: 2026-03-19T18:45:22.437Z

Link: CVE-2026-33437

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-17T18:16:35.650

Modified: 2026-08-17T18:16:35.650

Link: CVE-2026-33437

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-17T20:00:04Z

Weaknesses
  • CWE-79

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