CVE-2026-142203: PHPOffice PHPWord through 1.4.0 SSRF via External VML Image References

Published Dec 2, 2026
·
Updated

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 filegetcontents() or getimagesize() to request attacker-chosen hosts, including internal addresses.

Affected Software

1 affected component
composer/phpoffice/phpword<=1.4.0

Event History

Dec 2, 2026
CVE Published
via MITRE·04:50 PM
Data Sourced
via MITRE·04:50 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:17 PM
DescriptionSeverityWeakness
Event
via NVD·05:17 PM

Frequently Asked Questions

1

Who is exposed to this issue?

Applications using composer/phpoffice/phpword through version 1.4.0 are exposed when they process attacker-supplied .docx files with the Word2007 reader. The affected path is external VML image relationships in w:pict images.

2

What does an attacker need to exploit it?

An attacker needs to provide a crafted .docx containing a VML image relationship with TargetMode set to External. No authentication or user interaction is required according to the supplied vector.

3

What can exploitation do?

Processing the malicious document can cause the server to make outbound requests to attacker-chosen hosts, including internal addresses. The requests are triggered through file_get_contents() or getimagesize().

4

How can I determine whether my application is affected?

Check whether the application depends on composer/phpoffice/phpword at version 1.4.0 or earlier and uses its Word2007 reader on untrusted .docx input. Review whether such documents can contain w:pict VML images with external TargetMode relationships.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203