High severity7.8NVD Advisory· Published Oct 14, 2026
CVE-2026-110642
CVE-2026-110642
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
1Patches
Vulnerability mechanics
References
5- github.com/xhtml2pdf/xhtml2pdf/blob/v0.2.18/xhtml2pdf/pisa.pynvd
- github.com/xhtml2pdf/xhtml2pdf/commit/f86380dad15b3a6810201d08755a3ee6b19d5063nvd
- github.com/xhtml2pdf/xhtml2pdf/pull/835nvd
- github.com/xhtml2pdf/xhtml2pdf/releases/tag/v0.2.19nvd
- www.vulncheck.com/advisories/xhtml2pdf-before-0.2.19-os-command-injection-via-startviewer-file-namenvd
News mentions
0No linked articles in our index yet.