Skip to main content

PHPOffice PHPWord CVE-2026-142203

| EUVDEUVD-2026-141627 MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2026-12-02 VulnCheck GHSA-v698-m2mv-mq57
6.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft .docx with external VML image relationship
  2. Delivery
    Submit document to app using PHPWord Word2007 reader
  3. Exploit
    Parser resolves TargetMode External relationship
  4. Execution
    getimagesize()/file_get_contents() fetches attacker-chosen host
  5. Impact
    Blind 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

PHPWord 0 ≤1.4.0

Affected Packages

euvd phpword no fix

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

Vendor (VulnCheck) PRIMARY 6.9 MEDIUM
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
vuln.today AI 5.3 MEDIUM

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Prevalence
Medium
popular PHP library for reading and writing Word .docx documents
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS N/A
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy