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.
How to fix
- xhtml2pdf xhtml2pdf0.2.19 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| xhtml2pdf xhtml2pdf | v < 0.2.19 | 0.2.19 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.