CVE-2026-142203
PHPOffice PHPWord through 1.4.0 contains a server-side request …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/PHPOffice/PHPWord/blob/1.4.0/src/PhpWord/Element/Image.php#L466-L489
- github.com/PHPOffice/PHPWord/blob/1.4.0/src/PhpWord/Reader/Word2007/AbstractPart.php#L511-
- www.vulncheck.com/advisories/phpoffice-phpword-through-1.4.0-ssrf-via-external-vml-image-r
- nvd.nist.gov/vuln/detail/CVE-2026-142203
- cve.org/CVERecord?id=CVE-2026-142203
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.