CVE-2026-110642 xhtml2pdf before 0.2.19 OS Command Injection via startViewer File Name
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
xhtml2pdf
xhtml2pdf
영향 받는 버전
- 0.2.19 미만
해결 버전
- 0.2.19 이상
참고 자료 5건
- github.com https://github.com/xhtml2pdf/xhtml2pdf/blob/v0.2.18/xhtml2pdf/pisa.py#L393-L400 (새 창)
- github.com https://github.com/xhtml2pdf/xhtml2pdf/commit/f86380dad15b3a6810201d08755a3ee6b19d5063 (새 창)
- github.com https://github.com/xhtml2pdf/xhtml2pdf/pull/835 (새 창)
- github.com https://github.com/xhtml2pdf/xhtml2pdf/releases/tag/v0.2.19 (새 창)
- vulncheck.com https://www.vulncheck.com/advisories/xhtml2pdf-before-0.2.19-os-command-injection-via-startviewer-file-name (새 창)