Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-41580: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Stirling-Tools Stirling-PDF

0
Medium
VulnerabilityCVE-2026-41580cvecve-2026-41580cwe-79
Published: 07/15/2026 (07/15/2026, 14:56:36 UTC)
Source: CVE Database V5
Vendor/Project: Stirling-Tools
Product: Stirling-PDF

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.

CVSS v3.1

Score 6.1medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected software

GitHub Actionsmore threats →ai
stirling-tools/Stirling-PDF
pkg:github/stirling-tools/Stirling-PDF
Affected versions
<2.0.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 15:50:34 UTC

Technical Analysis

Stirling-PDF versions before 2.0.0 contain a CWE-79 XSS vulnerability in the /get-info-on-pdf endpoint. The vulnerability arises because the application renders PDF metadata fields (Title and Author) directly into the web page without proper HTML encoding or sanitization. An attacker can exploit this by embedding malicious JavaScript in these metadata fields within a crafted PDF file. When a user accesses the endpoint to view PDF information, the malicious script executes in their browser context. This vulnerability has a CVSS 3.1 base score of 6.1, indicating a medium severity. The vulnerability is resolved in Stirling-PDF version 2.0.0.

Potential Impact

Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of the user's browser when viewing the /get-info-on-pdf page for a crafted PDF. This can lead to limited confidentiality and integrity impacts such as theft of user session data or manipulation of the page content. There is no direct impact on availability. The vulnerability requires user interaction (viewing the page) and is remotely exploitable without privileges.

Mitigation Recommendations

A fix is available in Stirling-PDF version 2.0.0. Users should upgrade to version 2.0.0 or later to remediate this vulnerability. No official vendor advisory or patch link is provided, but the version 2.0.0 release is stated to fix the issue. Until upgraded, users should avoid processing untrusted PDF files with the affected endpoint.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-21T14:15:21.958Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a57a83f68715ace43f80bdb

Added to database: 07/15/2026, 15:33:19 UTC

Last enriched: 07/15/2026, 15:50:34 UTC

Last updated: 07/16/2026, 03:43:49 UTC

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses