CVE-2026-142202

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.
Configurations

No configuration.

History

02 Dec 2026, 17:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-12-02 17:17

Updated : 2026-12-02 17:17


NVD link : CVE-2026-142202

Mitre link : CVE-2026-142202

CVE.ORG link : CVE-2026-142202


JSON object : View

Products Affected

No product.

CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')