CVE-2026-110642
CVE-2026-110642 · xhtml2pdf before 0.2.19 OS Command Injection via startViewer File Name
Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.
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 · Élevée · EPSS 1,1% · Correctif disponible
- Publication
- Mise à jour
Pile logicielle: system
Produits et versions concernés
xhtml2pdf
- Versions du logiciel
- ≥ 0, < 0.2.19: Concernée (semver)
Mettez à jour vers 0.2.19
xhtml2pdf Debian:12
- Versions du logiciel
- 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
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
xhtml2pdf Debian:13
- Versions du logiciel
- 0.2.17+dfsg-1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
xhtml2pdf Debian:14
- Versions du logiciel
- 0.2.17+dfsg-1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
xhtml2pdf Ubuntu:18.04:LTS
- Versions du logiciel
- 0.2b-1
- 0.2b-2
- 0.2.1-1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
xhtml2pdf Ubuntu:20.04:LTS
- Versions du logiciel
- 0.2.2-3
- 0.2.2-3build1
- 0.2.2-5
- 0.2.4-1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
xhtml2pdf Ubuntu:22.04:LTS
- Versions du logiciel
- 0.2.4-1
- 0.2.4-1ubuntu1
- 0.2.5-1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
xhtml2pdf Ubuntu:24.04:LTS
- Versions du logiciel
- 0.2.5-3
- 0.2.5-5
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
xhtml2pdf Ubuntu:26.10
- Versions du logiciel
- 0.2.17+dfsg-1ubuntu2
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
xhtml2pdf Ubuntu:26.04:LTS
- Versions du logiciel
- 0.2.17+dfsg-1ubuntu1
- 0.2.17+dfsg-1ubuntu2
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
Sources 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