Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-142202— PHPOffice PHPWord through 1.4.0 Path Traversal via Zip Entry Names in Image Handling

Quick assessment

Affected
PHPOffice PHPWord
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

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

CVSS 8.3 · High
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-142202

Vulnerability Information

Shenlong is analyzing...


Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
PHPOffice PHPWord through 1.4.0 Path Traversal via Zip Entry Names in Image Handling
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
PHPOffice PHPWord 0 ~ 1.4.0 -

II. Public POCs for CVE-2026-142202

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-142202

请登录查看更多情报信息。

Other References for CVE-2026-142202 (3)

Same Patch Batch · PHPOffice · 2026-12-02 · 3 CVEs total

CVE-2026-142203 5.3 MEDIUM PHPOffice PHPWord through 1.4.0 SSRF via External VML Image References
CVE-2026-142204 5.3 MEDIUM PHPWord through 1.4.0 Denial of Service via Cyclic OLE Sector Chains in OLERead

IV. Related Vulnerabilities