{"id":"CVE-2026-142202","aliases":[],"url":"https://o3.security/vulnerability/CVE-2026-142202","summary":"PHPOffice PHPWord through 1.4.0 contains a path traversal vulnerability in Element\\Image::getImageString() and Writer\\AbstractWriter::addFileToPackage() that allows attackers to read…","details":"PHPOffice PHPWord through 1.4.0 contains a path traversal vulnerability in Element\\Image::getImageString() and Writer\\AbstractWriter::addFileToPackage() that allows attackers to read and delete arbitrary files via crafted zip entry names. Attackers can submit a docx whose image relationship targets and zip entries contain ../ sequences, exposing server files in converted output and unlinking files writable by the web server.","published":"2026-12-02T17:17:41.913","modified":"2026-12-02T17:17:41.913","cvss":{"score":8.3,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[],"fix":null,"references":[{"type":"WEB","url":"https://github.com/PHPOffice/PHPWord/blob/1.4.0/src/PhpWord/Element/Image.php#L341-L400"},{"type":"WEB","url":"https://github.com/PHPOffice/PHPWord/blob/1.4.0/src/PhpWord/Writer/AbstractWriter.php#L366-L388"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/phpoffice-phpword-through-1.4.0-path-traversal-via-zip-entry-names-in-image-handling"}],"provenance":{"sources":["OSV.dev","NVD","FIRST.org (EPSS)"],"lastVerified":"2026-12-02T17:17:41.913"}}