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

- Severity: Medium 6.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-30T20:31:48.374Z
- Modified: 2026-11-02T16:17:31.753Z
- Weaknesses: CWE-73, CWE-918
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- Stirling-Tools Stirling-PDF: < 3.0.0

## References

- <https://github.com/Stirling-Tools/Stirling-PDF/security/advisories/GHSA-3x7x-943g-269w> (exploit)
- <https://github.com/Stirling-Tools/Stirling-PDF/pull/7018>
- <https://github.com/Stirling-Tools/Stirling-PDF/commit/0570c4c4d9e7bf4786a02ab770ef75f116ac3719>
- <https://github.com/Stirling-Tools/Stirling-PDF/releases/tag/v3.0.0>

## Sources

- CVE List: [CVE-2026-119343](https://www.cve.org/CVERecord?id=CVE-2026-119343), CVE Terms of Use, modified 2026-11-02
- NVD: [CVE-2026-119343](https://nvd.nist.gov/vuln/detail/CVE-2026-119343), Public domain, modified 2026-11-02

---

Page: https://cve.day/CVE-2026-119343 · Whole record: https://cve.day/CVE-2026-119343.json · Rebuilt by cve.day 2026-11-25T22:59:48.024Z
