CVE-2026-110642 xhtml2pdf - Command Injection

xhtml2pdf < 0.2.19 contains a command injection caused by unescaped file names interpolated into os.system in pisa.startViewer(), letting attackers execute OS commands as the invoking user, exploit requires crafted input file name with shell metacharacters.

CVSS base score 7.8 /10
High
CISA KEV
Not listed
Public exploit
None known
Authentication
Not required
View the NVD record ↗