ZeroDay Brief
CVE-2026-110642

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.

CVSS
7.8High
Chance of exploitation (EPSS)
1.1%
Published
Oct 14, 2026
In the news
Not yet
More from this vendor

What to do

A serious command injection flaw in Xhtml2pdf that needs access to the machine itself. No attacks are reported yet; it can go in your normal patch cycle.

Action: Check the vendor's advisory in the references and apply updates as soon as they are available.

Fixed in: 0.2.19

Affected versions
Xhtml2pdf
Before 0.2.19

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.

CWE-78

Affected products

Get alerts for these →

Timeline 1

Latest change: CVE-2026-110642 published (CVSS 7.8) (Oct 14, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

Wed, Oct 14, 2026

  1. CVECVE-2026-110642 published (CVSS 7.8)CVE Program · 15:17 UTC

References 5

  • github.com /xhtml2pdf/xhtml2pdf/blob/v0.2.18/xhtml2pdf/pisa.py#L393-L400
  • github.com /xhtml2pdf/xhtml2pdf/commit/f86380dad15b3a6810201d08755a3ee6b19d5063
  • github.com /xhtml2pdf/xhtml2pdf/pull/835
  • github.com /xhtml2pdf/xhtml2pdf/releases/tag/v0.2.19
  • www.vulncheck.com /advisories/xhtml2pdf-before-0.2.19-os-command-injection-via-startviewer-file-name

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”