GHSA-hg8g-jhj6-v28rHighCVSS 8.3

PHPOffice PHPWord through 1.4.0 contains a path traversal vulnerability in Element\Image:...

Published
December 2, 2026
Last Modified
December 2, 2026

🔗 CVE IDs covered (1)

📋 Description

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.

🔗 References (5)