CVE-2026-110642

xhtml2pdf before 0.2.19 OS Command Injection via startViewer File Name

Published Oct 14, 2026 CVSS 4.0 · 8.5 High EPSS 1.1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Xhtml2pdf
Xhtml2pdf xhtml2pdf
Vendors & Products Xhtml2pdf
Xhtml2pdf xhtml2pdf
Type Values Removed Values Added
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.
Title xhtml2pdf before 0.2.19 OS Command Injection via startViewer File Name
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.5, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 14, 2026, 6:18 PM
Reserved
Oct 14, 2026, 1:07 PM
Status
Deferred
Published
Oct 14, 2026, 3:17 PM
Modified
Oct 15, 2026, 2:47 PM
Severity
Important
Public date
Oct 14, 2026, 2:17 PM