{"id":"CVE-2026-119343","aliases":["CVE-2026-119343"],"related":[],"kind":"vulnerability","state":"published","title":"Stirling-PDF: AI create-pdf-from-html-agent skips HTML sanitization enabling WeasyPrint SSRF and local file read","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-30T20:31:48.374Z","modified":"2026-11-02T16:17:31.753Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N","score":6.8,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N","score":6.8,"rating":"MEDIUM"}],"cwes":["CWE-73","CWE-918"],"affected":[{"ranges":[{"version":"< 3.0.0","status":"affected"}],"vendor":"Stirling-Tools","product":"Stirling-PDF","source":"cvelist"}],"references":[{"url":"https://github.com/Stirling-Tools/Stirling-PDF/security/advisories/GHSA-3x7x-943g-269w","tags":["exploit","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/Stirling-Tools/Stirling-PDF/pull/7018","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/Stirling-Tools/Stirling-PDF/commit/0570c4c4d9e7bf4786a02ab770ef75f116ac3719","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/Stirling-Tools/Stirling-PDF/releases/tag/v3.0.0","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-11-02T15:03:09.523Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-119343","url":"https://www.cve.org/CVERecord?id=CVE-2026-119343","licence":"CVE Terms of Use","modified":"2026-11-02T15:03:47.434Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-119343","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119343","licence":"Public domain","modified":"2026-11-02T16:17:31.753Z"}],"updatedAt":"2026-11-25T22:59:48.024Z","epss":{"score":0.00446,"percentile":0.40554,"date":"2026-12-01T12:00:22.000Z"}}