CVEsStirling-ToolsCVE-2026-119343Published Oct 30, 20:31 · Updated Oct 30, 20:31 UTC
6.8
MediumCVSS 3.1 · from GitHub_M
CVE-2026-119343

Stirling-PDF: AI create-pdf-from-html-agent skips HTML sanitization enabling WeasyPrint SSRF and local file read

Stirling-PDF · CWE-73 · CWE-73
AffectedStirling-PDF
FixNo fix listed yet.
PublishedOct 30, 20:31 · GitHub_M
ScoredOct 30 · 6.8 · 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.
It only works under certain conditions, which makes it harder to pull off. CVSS: high attack complexity.
A successful attack can read data. CVSS impact.

Description

Stirling-PDF is a locally hosted web application that facilitates various operations on PDF files. Prior to 3.0.0, POST /api/v1/ai/tools/create-pdf-from-html-agent accepts attacker-controlled htmlContent and passes it to WeasyPrint without CustomHtmlSanitizer, unlike the sanitized /api/v1/convert/html/pdf control path. HTTP and HTTPS resource references can make server-side requests to internal or cloud-metadata destinations, while file references can embed local content readable by the Stirling-PDF process into the generated PDF. The endpoint is reachable without credentials when security.enableLogin is false, and the flaw is distinct from earlier Stirling-PDF WeasyPrint vulnerabilities in older conversion paths. This issue is fixed in version 3.0.0.

From GitHub_M

Affected and fixed versions

ProductAffectedFixed inStirling-PDF< 3.0.0–

Exploit code

Exploit-DBnone knownMetasploitnone knownNucleinone known

References

github.com/Stirling-Tools/Stirling-PDF/security/advisories/GHSA-3x7x-943g-269w · github.comrefsource_CONFIRMgithub.com/Stirling-Tools/Stirling-PDF/pull/7018 · github.comrefsource_MISCgithub.com/Stirling-Tools/Stirling-PDF/commit/0570c4c4d9e7bf4786a02ab770ef75f116ac3719 · github.comrefsource_MISCgithub.com/Stirling-Tools/Stirling-PDF/releases/tag/v3.0.0 · github.comrefsource_MISC

Other CVEs in Stirling-PDF

All 18 →
5.3Stirling-PDF: SVG→PDF local file read (LFI) via SVG-sanitizer and Batik same-origin bypass · CVE-2026-119342Oct 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