PatchSiren cyber security CVE debrief
CVE-2026-110642 xhtml2pdf CVE debrief
The xhtml2pdf library before version 0.2.19 contains an OS command injection vulnerability in the pisa.startViewer() function. This vulnerability allows attackers to execute OS commands by providing a specially crafted file name that interpolates unescaped shell metacharacters. The vulnerability is triggered when the pisa tool is used with the -s or --start-viewer option.
- Vendor
- xhtml2pdf
- Product
- Unknown
- CVSS
- HIGH 8.5
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-10-14
- Original CVE updated
- 2026-10-14
- Advisory published
- 2026-10-14
- Advisory updated
- 2026-10-14
Who should care
Defenders responsible for systems using the xhtml2pdf library, particularly those using the pisa tool with the -s or --start-viewer option, should be aware of this vulnerability and take steps to mitigate it.
Why it matters
The xhtml2pdf library before version 0.2.19 contains an OS command injection vulnerability that allows attackers to execute OS commands. Defenders should prioritize upgrading to a patched version and review system logs for suspicious activity.
- Potential for attackers to execute arbitrary OS commands
- Possible impact on system security and integrity
- Need for defenders to verify and upgrade to a patched version
Technical summary
The xhtml2pdf library before version 0.2.19 contains an OS command injection vulnerability in the pisa.startViewer() function. This vulnerability allows attackers to execute OS commands by providing a specially crafted file name that interpolates unescaped shell metacharacters. The vulnerability is triggered when the pisa tool is used with the -s or --start-viewer option. Affected product deployments should be reviewed for exposure, and defenders should prioritize upgrading to version 0.2.19 or later of the xhtml2pdf library to mitigate this vulnerability.
Defensive priority
Defenders should prioritize upgrading to version 0.2.19 or later of the xhtml2pdf library to mitigate this vulnerability. Additionally, defenders should review their systems for any suspicious activity related to the pisa tool and ensure that all input files are properly sanitized.
Recommended defensive actions
- Upgrade to version 0.2.19 or later of the xhtml2pdf library
- Review system logs for suspicious activity related to the pisa tool
- Ensure that all input files are properly sanitized
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
- Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance
- Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
Evidence notes
The CVE record and source item provide details about the vulnerability, including its description, affected versions, and references to patches and advisories. However, there is limited information about the vulnerability's impact and exploitation.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-110642 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-110642
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-110642 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-110642
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
xhtml2pdf before 0.2.19 OS Command Injection via startViewer File Name
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/110xxx/CVE-2026-110642.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://github.com/xhtml2pdf/xhtml2pdf/pull/835
Supplemental source - patch, issue-tracking
-
Source reference
Unverified legacy reference
URL: https://github.com/xhtml2pdf/xhtml2pdf/commit/f86380dad15b3a6810201d08755a3ee6b19d5063
Supplemental source - patch
-
Source reference
Unverified legacy reference
URL: https://github.com/xhtml2pdf/xhtml2pdf/releases/tag/v0.2.19
Supplemental source - release-notes
-
Source reference
Unverified legacy reference
URL: https://github.com/xhtml2pdf/xhtml2pdf/blob/v0.2.18/xhtml2pdf/pisa.py
Supplemental source - technical-description
-
Source reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/xhtml2pdf-before-0.2.19-os-command-injection-via-startviewer-file-name
Supplemental source - third-party-advisory
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.