Skip to content
CVE PROGRAM SOURCE RECORD8.5 High

CVE-2026-110642

xhtml2pdf before 0.2.19 OS Command Injection via startViewer File Name

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

xhtml2pdf xhtml2pdf

Default version status: unaffected

  • 0 to < 0.2.19affected
pkg:pypi/xhtml2pdf

References