CVEsStirling-ToolsCVE-2026-119342Published Oct 30, 20:28 · Updated Oct 30, 20:28 UTC
5.3
MediumCVSS 3.1 · from GitHub_M
CVE-2026-119342

Stirling-PDF: SVG→PDF local file read (LFI) via SVG-sanitizer and Batik same-origin bypass

Stirling-PDF · Improper input validation · CWE-20
AffectedStirling-PDF
FixNo fix listed yet.
PublishedOct 30, 20:28 · GitHub_M
ScoredOct 30 · 5.3 · GitHub_M
Exploit code publicNone known · checked 21:18 UTC
ExploitedNone known · CISA KEV checked 22:11 UTC

What we know

No known exploitation. CISA KEV, checked 22:11 UTC.
No public exploit code known. Exploit-DB, Metasploit, Nuclei, checked 21:18 UTC.
An attacker only needs network access to the target. No login needed. CVSS: network, no privileges.

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.

From GitHub_M

Affected and fixed versions

ProductAffectedFixed inStirling-PDF>= 2.13.1, < 2.13.2–

Exploit code

Exploit-DBnone knownMetasploitnone knownNucleinone known

References

github.com/Stirling-Tools/Stirling-PDF/security/advisories/GHSA-pr4g-9qp2-g8j8 · github.comrefsource_CONFIRMgithub.com/Stirling-Tools/Stirling-PDF/pull/6796 · github.comrefsource_MISCgithub.com/Stirling-Tools/Stirling-PDF/commit/d06d3cabaf5b8a7dcd0dbfc584828d8e687e5dd5 · github.comrefsource_MISCgithub.com/Stirling-Tools/Stirling-PDF/releases/tag/v2.13.2 · github.comrefsource_MISC

Other CVEs in Stirling-PDF

All 18 →
6.8Stirling-PDF: AI create-pdf-from-html-agent skips HTML sanitization enabling WeasyPrint SSRF and local file read · CVE-2026-119343Oct 307.1Stirling-PDF 3.0.0 through 3.2.0 Authorization Bypass via Processing Folders · CVE-2026-113606Oct 207.2Stirling-PDF 2.13.2 through 3.2.0 H2 SQL Denylist Bypass via import-database · CVE-2026-113605Oct 20