OS Command Injection Affecting xhtml2pdf package, versions <0.2.28+dfsg-1


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
1.13% (68th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN14-XHTML2PDF-21139824
  • published17 Oct 2026
  • disclosed14 Oct 2026

Introduced: 14 Oct 2026

CVE-2026-110642  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade Debian:14 xhtml2pdf to version 0.2.28+dfsg-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream xhtml2pdf package and not the xhtml2pdf package as distributed by Debian. See How to fix? for Debian:14 relevant fixed versions and status.

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 Base Scores

version 3.1