CVE-2026-110642xhtml2pdf before 0.2.19 OS Command Injection via startViewer File Name
Updated under an hour ago ()
Does this affect you?
It affects xhtml2pdf. Add what you run to find out whether that includes you.
EPSS puts the chance of exploitation in the next 30 days at 1.15%, higher than 66% of scored CVEs.
Do this next
Free account, 1 product
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.
- CVSS
- 7.8 HIGH (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weakness (CWE)
- CWE-78
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- 1.15% (percentile 66)
- Assigned by
- VulnCheck
- NVD analysis
- Deferred
- Record last updated
- Oct 14, 2026
- First seen by InfoSec Signals
- Oct 14, 2026
Affected products
xhtml2pdf xhtml2pdf xhtml2pdf:xhtml2pdf (from the name) | before 0.2.19 | CNA record |
References
- https://github.com/xhtml2pdf/xhtml2pdf/pull/835patch, issue-tracking
- https://github.com/xhtml2pdf/xhtml2pdf/commit/f86380dad15b3a6810201d08755a3ee6b19d5063patch
- https://github.com/xhtml2pdf/xhtml2pdf/releases/tag/v0.2.19release-notes
- https://github.com/xhtml2pdf/xhtml2pdf/blob/v0.2.18/xhtml2pdf/pisa.py#L393-L400technical-description
- https://www.vulncheck.com/advisories/xhtml2pdf-before-0.2.19-os-command-injection-via-startviewer-file-namethird-party-advisory
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.