GHSA-v698-m2mv-mq57MediumCVSS 5.3
PHPOffice PHPWord through 1.4.0 contains a server-side request forgery vulnerability in the...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (5)
- https://nvd.nist.gov/vuln/detail/CVE-2026-142203
- https://github.com/PHPOffice/PHPWord/blob/1.4.0/src/PhpWord/Element/Image.php#L466-L489
- https://github.com/PHPOffice/PHPWord/blob/1.4.0/src/PhpWord/Reader/Word2007/AbstractPart.php#L511-L522
- https://www.vulncheck.com/advisories/phpoffice-phpword-through-1.4.0-ssrf-via-external-vml-image-references
- https://github.com/advisories/GHSA-v698-m2mv-mq57