Skip to main content
← All vulnerabilities
CVE-2026-110642

xhtml2pdf before 0.2.19 OS Command Injection via startViewer File Name

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.2.19
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • xhtml2pdf xhtml2pdf

    fixed in 0.2.19

References 5

GitHub · xhtml2pdf/xhtml2pdf

vulncheck.com