CVE-2026-110642
CVE-2026-110642 · xhtml2pdf before 0.2.19 OS Command Injection via startViewer File Name
Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.
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 8.5 · Alta · EPSS 1,1% · Corrección disponible
- Publicación
- Actualización
Pila tecnológica: system
Productos y versiones afectados
xhtml2pdf
- Versiones
- ≥ 0, < 0.2.19: Afectada (semver)
Actualiza a 0.2.19
xhtml2pdf Debian:12
- Versiones
- 0.2.15+dfsg-1
- 0.2.15+dfsg-2
- 0.2.16+dfsg-1
- 0.2.17+dfsg-1
- 0.2.5-3
- 0.2.5-4
- 0.2.5-5
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
xhtml2pdf Debian:13
- Versiones
- 0.2.17+dfsg-1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
xhtml2pdf Debian:14
- Versiones
- 0.2.17+dfsg-1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
xhtml2pdf Ubuntu:18.04:LTS
- Versiones
- 0.2b-1
- 0.2b-2
- 0.2.1-1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
xhtml2pdf Ubuntu:20.04:LTS
- Versiones
- 0.2.2-3
- 0.2.2-3build1
- 0.2.2-5
- 0.2.4-1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
xhtml2pdf Ubuntu:22.04:LTS
- Versiones
- 0.2.4-1
- 0.2.4-1ubuntu1
- 0.2.5-1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
xhtml2pdf Ubuntu:24.04:LTS
- Versiones
- 0.2.5-3
- 0.2.5-5
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
xhtml2pdf Ubuntu:26.10
- Versiones
- 0.2.17+dfsg-1ubuntu2
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
xhtml2pdf Ubuntu:26.04:LTS
- Versiones
- 0.2.17+dfsg-1ubuntu1
- 0.2.17+dfsg-1ubuntu2
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
Fuentes originales
- https://github.com/xhtml2pdf/xhtml2pdf/pull/835
- https://github.com/xhtml2pdf/xhtml2pdf/commit/f86380dad15b3a6810201d08755a3ee6b19d5063
- https://github.com/xhtml2pdf/xhtml2pdf/releases/tag/v0.2.19
- https://github.com/xhtml2pdf/xhtml2pdf/blob/v0.2.18/xhtml2pdf/pisa.py#L393-L400
- https://www.vulncheck.com/advisories/xhtml2pdf-before-0.2.19-os-command-injection-via-startviewer-file-name
- https://nvd.nist.gov/vuln/detail/CVE-2026-110642