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

Status: published. Published: 2026-10-30. Updated: 2026-11-02.

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.

## Remediation

No remediation reported in collected sources

## Affected products and versions

- Stirling-Tools / Stirling-PDF: < 3.0.0 (affected). Source: CNA: GitHub_M

## Severity and prioritization

- CVSS 3.1: 6.8 (medium); CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N; source: CNA: GitHub_M

- CVSS 3.1: 6.8 (medium); CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N; source: NVD: security-advisories@github.com

- CISA KEV: No listing in collected sources

- EPSS: 0.28% as of 2026-11-02; percentile 20.92%

- SSVC: exploitation poc; automatable no; technical impact partial; source ADP: CISA-ADP

- Weaknesses: CWE-73, CWE-918

## Exploit evidence

- exploit: https://github.com/Stirling-Tools/Stirling-PDF/security/advisories/GHSA-3x7x-943g-269w (ADP: CISA-ADP)

## References

- https://github.com/Stirling-Tools/Stirling-PDF/security/advisories/GHSA-3x7x-943g-269w (CNA: GitHub_M; x_refsource_CONFIRM)

- https://github.com/Stirling-Tools/Stirling-PDF/pull/7018 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/Stirling-Tools/Stirling-PDF/commit/0570c4c4d9e7bf4786a02ab770ef75f116ac3719 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/Stirling-Tools/Stirling-PDF/releases/tag/v3.0.0 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/Stirling-Tools/Stirling-PDF/security/advisories/GHSA-3x7x-943g-269w (ADP: CISA-ADP; exploit)

- https://github.com/Stirling-Tools/Stirling-PDF/commit/0570c4c4d9e7bf4786a02ab770ef75f116ac3719 (security-advisories@github.com)

- https://github.com/Stirling-Tools/Stirling-PDF/pull/7018 (security-advisories@github.com)

- https://github.com/Stirling-Tools/Stirling-PDF/releases/tag/v3.0.0 (security-advisories@github.com)

- https://github.com/Stirling-Tools/Stirling-PDF/security/advisories/GHSA-3x7x-943g-269w (security-advisories@github.com)

- https://github.com/Stirling-Tools/Stirling-PDF/security/advisories/GHSA-3x7x-943g-269w (134c704f-9b21-4f2e-91b3-4a467353bcc0)

## Provenance

- CNA: GitHub_M: https://www.cve.org/CVERecord?id=CVE-2026-119343; retrieved 2026-11-02; source updated 2026-11-02

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-119343; retrieved 2026-11-02; source updated 2026-11-02

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-119343; retrieved 2026-11-02; source updated Not reported

Revision: f505b24e152fc0ed8f79f1af3f2bf884201a93be5420a85cd58def954ca40c2d

Canonical: https://y2.dev/cve/CVE-2026-119343

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.