CVE-2026-110642
>_ Opis
Tłumaczenie automatyczne – może zawierać nieścisłości.
xhtml2pdf przed wersją 0.2.19 zawiera lukę w zabezpieczeniach umożliwiającą wstrzykiwanie poleceń systemu operacyjnego w pisa.startViewer(), która umożliwia atakującym wykonywanie poleceń poprzez interpolację nazw plików bez zmiany znaczenia do os.system. Atakujący mogą dostarczyć plik wejściowy, którego nazwa zawiera podwójny cudzysłów i metaznaki powłoki, który uruchamia polecenia systemu operacyjnego jako użytkownik wywołujący, gdy narzędzie pisa jest używane z opcją -s/--start-viewer.
>_ Słabości (CWE)
>_ Referencje
- https://github.com/xhtml2pdf/xhtml2pdf/blob/v0.2.18/xhtml2pdf/pisa.py#L393-L400
- https://github.com/xhtml2pdf/xhtml2pdf/commit/f86380dad15b3a6810201d08755a3ee6b19d5063
- https://github.com/xhtml2pdf/xhtml2pdf/pull/835
- https://github.com/xhtml2pdf/xhtml2pdf/releases/tag/v0.2.19
- https://www.vulncheck.com/advisories/xhtml2pdf-before-0.2.19-os-command-injection-via-startviewer-file-name
Dane podatności pochodzą z oficjalnych źródeł (CVE® List / NVD). Opisy po polsku są tłumaczone automatycznie i mogą zawierać nieścisłości – na stronie rekordu można wyświetlić wersję angielską.
This product uses the NVD API but is not endorsed or certified by the NVD.
Copyright © 1999–2026, The MITRE Corporation. CVE is a registered trademark and the CVE logo is a registered trademark of The MITRE Corporation.
CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy. ALL DOCUMENTS AND THE INFORMATION CONTAINED THEREIN PROVIDED BY MITRE ARE PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND.
NVD Terms of Use / CVE® Terms of Use / nvd.nist.gov / cve.org