CVE-2026-110642
published high CVSS 4.0 · 8.5xhtml2pdf before 0.2.19 OS Command Injection via startViewer File Name
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| xhtml2pdf | — | xhtml2pdf0 to < 0.2.19 · Other versions: unaffected | Affected | Not stated | VulnCheck |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-xhtml2pdfaarch64 | Advisory build | 0.2.24-1.1 | OPENSUSE-SU-2026:12160-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-xhtml2pdfppc64le | Advisory build | 0.2.24-1.1 | OPENSUSE-SU-2026:12160-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-xhtml2pdfs390x | Advisory build | 0.2.24-1.1 | OPENSUSE-SU-2026:12160-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-xhtml2pdfx86_64 | Advisory build | 0.2.24-1.1 | OPENSUSE-SU-2026:12160-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-xhtml2pdfaarch64 | Advisory build | 0.2.24-1.1 | OPENSUSE-SU-2026:12160-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-xhtml2pdfppc64le | Advisory build | 0.2.24-1.1 | OPENSUSE-SU-2026:12160-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-xhtml2pdfs390x | Advisory build | 0.2.24-1.1 | OPENSUSE-SU-2026:12160-1 |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-xhtml2pdfx86_64 | Advisory build | 0.2.24-1.1 | OPENSUSE-SU-2026:12160-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.5 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| xhtml2pdf | xhtml2pdf | 0 to < 0.2.19 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
5- https://github.com/xhtml2pdf/xhtml2pdf/blob/v0.2.18/xhtml2pdf/pisa.py#L393-L400
- https://github.com/xhtml2pdf/xhtml2pdf/commit/f86380dad15b3a6810201d08755a3ee6b19d5063
- https://github.com/xhtml2pdf/xhtml2pdf/pull/835
- v0.2.19 Release Notes https://github.com/xhtml2pdf/xhtml2pdf/releases/tag/v0.2.19
- VulnCheck Advisory: xhtml2pdf before 0.2.19 OS Command Injection via startViewer File Name https://www.vulncheck.com/advisories/xhtml2pdf-before-0.2.19-os-command-injection-via-startviewer-file-name
Provider assertions
2VulnCheck · cna
xhtml2pdf before 0.2.19 OS Command Injection via startViewer File Name
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2c3c461bec514dc4a06135ba00527b9dca7d59bdf8b36cbc06b7afaa2733218e
- Ingested
- 14 Oct 2026, 20:28:04 UTC
- Source record
- Official CVE record