Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft .docx with external VML image relationship
-
DeliverySubmit document to app using PHPWord Word2007 reader
-
ExploitParser resolves TargetMode External relationship
-
Executiongetimagesize()/file_get_contents() fetches attacker-chosen host
-
ImpactBlind SSRF reaches internal addresses
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The target application must parse attacker-supplied .docx files using PHPWord's Word2007 reader (versions through 1.4.0). The crafted document must contain a w:pict VML image whose relationship uses TargetMode="External", which the reader passes to file_get_contents()/getimagesize(), causing the server to request the attacker-specified host. Limiting factors: exploitation depends on the application accepting and processing untrusted documents (not a standalone network service); the impact is blind SSRF - an outbound request only, with no response data returned to the attacker per the VC:N rating - and integrity impact is low (VI:L), so this enables internal host/port reachability and request forgery rather than direct data exfiltration. |
| Impact | Severity signals are moderate and broadly consistent. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) scores 6.9 and indicates a network-reachable, low-complexity, unauthenticated flaw, but the vulnerable-system impact is limited to VI:L with VC:N and VA:N - i.e. a blind SSRF that issues an outbound request without returning response data to the attacker. The vuln.today decision label is 'this_month' (not act_now/emergency), reflecting real but non-urgent priority. KEV status is not present in the input, so there is no confirmed active exploitation (exploitation status: no public exploit identified at time of analysis). No EPSS score was provided, so exploitation probability cannot be compared against the KEV/decision signals - this is a data gap, not a low score. The practical risk is tempered by a deployment precondition the raw CVSS does not capture: the affected application must actually ingest and parse attacker-supplied .docx files through PHPWord's Word2007 reader. Where that precondition holds, this is a genuine SSRF usable to reach internal addresses; where applications only process trusted documents, real-world exposure is low. Net: a legitimate medium-severity issue to patch in a normal cycle, not a drop-everything emergency. |
| Exploit ScenarioDerived | An attacker uploads a crafted .docx to a PHP web application that uses PHPWord's Word2007 reader to parse Word documents. The document embeds a w:pict VML image whose relationship uses TargetMode="External", so when the reader calls file_get_contents()/getimagesize() the server issues an outbound request to an attacker-chosen host - including internal addresses or cloud metadata endpoints - yielding server-side request forgery. No confirmed public exploit code was identified; exploitation requires the app to accept untrusted documents, and the low-complexity network vector (AV:N/AC:L) means no special timing or interaction is needed once a document is processed. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
Server-side request forgery in PHPOffice PHPWord through 1.4.0 allows unauthenticated remote attackers to make the server issue outbound requests to attacker-chosen hosts when the Word2007 reader parses a crafted .docx containing a w:pict VML image with an external relationship. The external target is passed to file_get_contents()/getimagesize(), so internal addresses can be reached; the result is blind SSRF with low integrity impact and no response data returned. Exploitation requires the application to accept untrusted documents, and no public exploit was identified at time of analysis.
RemediationAI
No vendor-released patch or fixed version was identified at time of analysis; track the VulnCheck advisory (https://www.vulncheck.com/advisories/phpoffice-phpword-through-1.4.0-ssrf-via-external-vml-image-references) and the PHPWord repository for a fix. Until then, apply egress filtering on hosts that parse PHPWord documents to deny outbound access to loopback, RFC1918, link-local, and cloud metadata addresses; this can break legitimate external image or resource fetching. Run document parsing in an isolated network segment with no route to internal services. Pre-process uploaded .docx files to reject or strip w:pict VML images whose relationships use TargetMode="External", or disable external relationship resolution if linked images are not required; this may affect documents that legitimately reference external images.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
PHPWord is a PHP library for reading and writing Office documents. The Word2007 reader processes image relationships; in version 1.4.0, AbstractPart.php lines 511-522 and Image.php lines 466-489 handle w:pict VML images. A relationship with TargetMode="External" is not restricted before being used by file_get_contents()/getimagesize(), which is the CWE-918 root cause. CPE cpe:2.3:a:phpoffice:phpword:*:*:*:*:*:*:*:* and EUVD data place affected versions at 0 through 1.4.0. The supplied CVSS 4.0 vector rates 6.9 with AV:N/AC:L/AT:N/PR:N/UI:N; the independent CVSS 3.1 assessment is AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N, reflecting blind SSRF: an outbound request only, no response data returned to the attacker, and low integrity impact. The trigger is specifically parsing an attacker-supplied document, not a standalone network service.
Know when Phpword gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
A crafted document the app parses automatically gives AV:N/AC:L/PR:N/UI:N; blind outbound request returns no data, so C:N and only I:L, scope unchanged.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
Path traversal in PHPWord through 1.4.0 allows an attacker with document-submission privileges to read server files into
Denial of service in PHPOffice PHPWord through 1.4.0 is triggered when an application loads an attacker-supplied legacy
EUVD-2026-141627
GHSA-v698-m2mv-mq57
NVD
CVE.org
Exploit-DB