CVE-2026-41580
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedStirling-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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceStirling-PDF versions prior to 2.0.0 contain a stored cross-site scripting (XSS) vulnerability in the /get-info-on-pdf endpoint. The PDF Title and Author metadata fields are rendered without HTML encoding, allowing malicious metadata to execute arbitrary JavaScript in the browser of users viewing the PDF information page.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data< 2.0.0CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- 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
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify Stirling-PDF installationLocate the Stirling-PDF application in your environment. This is typically a web application running on a Java servlet container or as a Docker container. Check your running services or deployed applications for anything named 'Stirling-PDF' or 'stirling-pdf'.Affected if Stirling-PDF is not present in your environment, you are not affected.
-
Determine installed versionCheck the version of your Stirling-PDF installation. This is usually visible in the web UI footer, in the Docker image tag, or in the application's startup logs. Compare your version against 2.0.0.Affected if Your installed version is prior to 2.0.0, the application contains the vulnerability.
-
Verify /get-info-on-pdf endpoint is accessibleConfirm that the /get-info-on-pdf endpoint is available and functional in your deployment. This endpoint provides PDF metadata information including Title and Author fields. Attempt to access it or check your application's routing configuration.Affected if The endpoint is disabled or not exposed, the attack surface may be reduced but the vulnerable code likely still exists in the application.
-
Audit uploaded PDFs for metadataReview any PDFs stored in your Stirling-PDF instance for suspicious metadata. Examine PDF files that may have been uploaded by untrusted users, looking for unusual content in the Title or Author metadata fields that could contain script tags or HTML.Affected if You have PDFs with unsanitized Title or Author metadata from untrusted sources, and users view them via the info endpoint, the XSS can be triggered.
You are affected if Stirling-PDF version prior to 2.0.0 is installed and users can upload or view PDFs with arbitrary metadata through the /get-info-on-pdf endpoint.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped2.0.0
Upgrade Stirling-PDF to version 2.0.0 or later. As a defense-in-depth measure, ensure users do not view untrusted PDFs directly in the application without confirming the source.
2.0.0
- Identify the current Stirling-PDF version running in your environment
- Stop the Stirling-PDF service
- Back up the existing installation and any PDF files or configurations
- Upgrade Stirling-PDF to version 2.0.0 using your installation method (e.g., Docker pull, package manager, or direct download)
- Restart the Stirling-PDF service
- Verify the application is running version 2.0.0
- Test the /get-info-on-pdf endpoint to confirm the vulnerability is remediated
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation2.0 h
- Testing3.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,224.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-41580 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-41580 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data