CVE-2026-110642

published 14 Oct 2026 · updated 14 Oct 2026

xhtml2pdf before 0.2.19 OS Command Injection via startViewer File Name

7.8HighCVSS 7.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 0.2.19.

xhtml2pdf before 0.2.19 contains an OS command injection vulnerability in pisa.startViewer() that allows attackers to execute commands by interpolating unescaped file names into os.system. Attackers can supply an input file whose name contains a double quote and shell metacharacters, which runs OS commands as the invoking user when the pisa tool is used with -s/--start-viewer.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
xhtml2pdf<0.2.190.2.19

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-110642 severity on Zeptric[![CVE-2026-110642](https://zeptric.io/badge/cve/CVE-2026-110642.svg)](https://zeptric.io/cve/CVE-2026-110642)