All vulnerabilities

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
Weakness
Server-side request forgery (CWE-918)
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.

From the CVE Program.

Affected software

SoftwareAffected versions
phpoffice/phpwordPackagist · osv:Packagist:phpoffice/phpword
  • Every version up to 1.4.0

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
Search the list for phpoffice/phpword

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-142203