CVE catalog

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. Attackers c

[CVE catalog]

Severity
High · CVSS 8.5CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
Updated
Source
[NVD] · [CVE record]
EPSS
1.13% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianxhtml2pdfsid0.2.17+dfsg-1vulnerable
Debianxhtml2pdfforky0.2.17+dfsg-1vulnerable
Debianxhtml2pdftrixie0.2.17+dfsg-1vulnerable
Debianxhtml2pdfbookworm0.2.5-3vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianxhtml2pdfsourcesid(unfixed)unimportantNot reported[1152196]
Debianxhtml2pdfsourceforky(unfixed)unimportantNot reported[1152196]
Debianxhtml2pdfsourcetrixie(unfixed)unimportantNot reported[1152196]
Debianxhtml2pdfsourcebookworm(unfixed)unimportantNot reported[1152196]

[Debian bug #1152196]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [xhtml2pdf]

    Details (2)
    • 0.2.5-3 · all · bookworm

      Affected

      nvd · xhtml2pdf · debian · bookworm

    • 0.2.5-3 · all · bookworm

      Affected

      nvd · xhtml2pdf · debian · bookworm

Observed:

References