xhtml2pdf before 0.2.19 OS Command Injection via startViewer File Name
xhtml2pdf
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| xhtml2pdf xhtml2pdf |
| No fix yet |
Original 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.
From the CVE record · VulnCheck