CVE-2026-110642
JSON

8.5high

xhtml2pdf before 0.2.19 OS Command Injection via startViewer File Name

Severity
8.5high CVSS:4.0 by VulnCheck
Exploit likelihood
1.15% (higher than 67% of CVEs)
Published
Last changed
Assigned by
VulnCheck

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

Product or packageVersionsReported by
xhtml2pdf xhtml2pdfbefore 0.2.19CVE List

All scores

VulnCheck8.5high CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Classification

CWE-78

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-110642 changed 2026-10-14CVE Terms of Use
NVDCVE-2026-110642 changed 2026-10-15Public domain