Packagist
CVE-2026-142203
PHPOffice PHPWord through 1.4.0 SSRF via External VML Image References
- Severity
- Medium 6.9
- Published
- 2 Dec 2026
- Last changed
- 2 Dec 2026
- Added to UpHeron
- 2 Dec 2026
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Change some data
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N- Sources
- CVE Program
Description
PHPOffice PHPWord through 1.4.0 contains a server-side request forgery vulnerability in the Word2007 reader that allows attackers to trigger outbound requests via external VML image relationships. Attackers can supply a crafted .docx with w:pict images using TargetMode External, causing file_get_contents() or getimagesize() to request attacker-chosen hosts, including internal addresses.
Affected software
| Software | Affected versions |
|---|---|
phpoffice/phpwordPackagist · osv:Packagist:phpoffice/phpword |
|
About phpoffice/phpword
- Monthly downloads (Packagist)
- 3,572,648Packagist, 2 Dec 2026
- Total downloads (Packagist)
- 52,050,198Packagist, 2 Dec 2026
Vulnerabilities in phpoffice/phpword
- In our list
- 3
- Published in the last 12 months
- 3
- Critical, last 12 months
- 0
- High, last 12 months
- 1
- Known exploited
- 0
- CVE-2026-142202PHPOffice PHPWord through 1.4.0 Path Traversal via Zip Entry Names in Image HandlingHigh 7.2 2 Dec 2026
- CVE-2026-142204PHPWord through 1.4.0 Denial of Service via Cyclic OLE Sector Chains in OLEReadMedium 6.9 2 Dec 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-142203