All vulnerabilities
CVE-2026-110642

xhtml2pdf before 0.2.19 OS Command Injection via startViewer File Name

xhtml2pdf xhtml2pdf
CVSS
8.5High
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)1.15%Chance of exploitation activity in the next 30 days, higher than 66% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed in0.2.19Fixed versionCVE List
Published14 Oct 2026Updated 14 Oct 2026CVE List

What fixes it

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

Description

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.

Text from CVE List

Affected versions 1

  • xhtml2pdfaffected: all versions before 0.2.19CVE List

References 5