AploSec / Disclosures / CVE-2026-142203
PHPOffice PHPWord through 1.4.0 SSRF via External VML Image References
CVE-2026-142203 · published 2026-12-02
In plain words: this type of bug lets someone trick the server into making requests to places it should not reach (server-side request forgery, SSRF). No fixed release is listed yet.
Summary
CVE-2026-142203 affects PHPWord (Packagist) <= 1.4.0: SSRF via External VML Image References (CWE-918). No fixed release is listed. CVSS 4.0 base score 6.9 (Medium), assigned by VulnCheck. Published 2026-12-02 by VulnCheck. Credit: Zachariah Mithani (AploSec).
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.
Evidence
Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.
Remediation
No fixed release is listed in the advisory. Check the references for upstream status.
References
- VulnCheck advisoryhttps://www.vulncheck.com/advisories/phpoffice-phpword-through-1.4.0-ssrf-via-external-vml-image-references
- Vulnerable codehttps://github.com/PHPOffice/PHPWord/blob/1.4.0/src/PhpWord/Reader/Word2007/AbstractPart.php#L511-L522
- Vulnerable codehttps://github.com/PHPOffice/PHPWord/blob/1.4.0/src/PhpWord/Element/Image.php#L466-L489
- CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-142203
- Severity
- Medium 6.9CVSS 4.0, scored by VulnCheck in the CVE record
- Package
- PHPWord
- Ecosystem
- Packagist
- Affected
- <= 1.4.0
- Fixed
- None
- Weakness
- CWE-918
- CNA
- VulnCheck
- Credit
- Zachariah Mithani (AploSec)finder