CVE-2026-119342 Details
Description
Stirling-PDF is a locally hosted web application that facilitates various operations on PDF files. From 2.13.1 until 2.13.2, the POST /api/v1/convert/svg/pdf endpoint renders attacker-supplied SVG through Apache Batik, and a scheme-less root-relative image reference bypasses SvgSanitizer.isExternalUrl() before Batik resolves it against the file:///input.svg document base as a same-origin local file. The convert() and addSvgAsPage() paths in app/core/src/main/java/stirling/software/SPDF/utils/SvgToPdf.java can then render image-decodable server files into the returned PDF when sanitization is enabled, including without authentication on login-disabled deployments or with non-admin access when login is enabled. The issue discloses PNG, JPG, GIF, or SVG content and provides an existence oracle only for image-decodable paths; plain text, binary files, directories, XInclude text, external entities, explicit file URLs, and tested HTTP references are not disclosed through this mechanism. This issue is fixed in version 2.13.2.
A local file inclusion vulnerability has been identified in Stirling-PDF versions 2.13.1 prior to 2.13.2. The issue arises in the SVG to PDF conversion feature, specifically through the POST /api/v1/convert/svg/pdf endpoint. The vulnerability allows attacker-supplied SVG to be processed by Apache Batik, where a scheme-less root-relative image reference can bypass the SVG sanitizer's URL validation. This exploitation leads to the inclusion of local server files that can be decoded as images (PNG, JPG, GIF, or SVG) into the generated PDF. The vulnerability is present in deployments without authentication or with non-admin access when login is enabled.
Users can update to Stirling-PDF version 2.13.2, which addresses this vulnerability by improving the SVG sanitization process and adding necessary authorization checks.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 30, 2026CISA-ADP
Assessed Nov 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Stirling-Tools/Stirling-PDF/security/advisories/GHSA-pr4g-9qp2-g8j8 | CISA-ADP | AdvisoryExploitRemedyTechnical DescriptionVendor |
| https://github.com/Stirling-Tools/Stirling-PDF/commit/d06d3cabaf5b8a7dcd0dbfc584828d8e687e5dd5 | [email protected] | Source CodeVendor |
| https://github.com/Stirling-Tools/Stirling-PDF/pull/6796 | [email protected] | Issue TrackingVendor |
| https://github.com/Stirling-Tools/Stirling-PDF/releases/tag/v2.13.2 | [email protected] | Release NotesVendor |
| https://github.com/Stirling-Tools/Stirling-PDF/security/advisories/GHSA-pr4g-9qp2-g8j8 | [email protected] | AdvisoryExploitRemedyTechnical DescriptionVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-20 | Improper Input Validation | [email protected] |
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
| CWE-610 | Externally Controlled Reference to a Resource in Another Sphere | [email protected] |
| CWE-918 | Server-Side Request Forgery (SSRF) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Stirling-PDF | >= 2.13.1 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 5, 2026 | CVE Modified | CISA-ADP |
| Oct 30, 2026 | New CVE Received | [email protected] |
Volerion