Skip to main content

mPDF EUVDEUVD-2026-141611

| CVE-2026-142219 MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2026-12-02 VulnCheck GHSA-f2h6-w2m7-r78f
6.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Inject gopher:// URL into rendered HTML/CSS
  2. Exploit
    mPDF passes URL to cURL unrestricted
  3. Execution
    cURL delivers crafted bytes to internal Redis/Memcached
  4. Impact
    Alter cache keys or internal service state

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

Exploitation requires that the application renders attacker-controlled HTML or CSS through mPDF (≤ 8.3.2) and that mPDF's remote resource fetching reaches CurlHttpClient - which passes URLs to cURL without setting CURLOPT_PROTOCOLS, allowing the gopher:// and dict:// schemes. The attacker must supply a crafted gopher:// or dict:// resource URL in the rendered content, and there must be a reachable internal service (such as Redis or Memcached) at a host/port the server can contact for the chosen-byte delivery to have effect. Limiting factors: the attacker needs an injection path into rendered content, must know or discover an internal target service, and the vendor-rated impact is Low (partial confidentiality/integrity, no availability) - the elevated AC:H/AT:P reflects these non-default preconditions rather than a trivially reproducible remote hit against a default install.

Impact

This is a medium-severity, context-dependent SSRF rather than a drop-everything priority. The CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:N) shows a network-reachable, unauthenticated flaw (PR:N) but with elevated attack complexity and a present attack requirement (AC:H/AT:P), reflecting that the attacker must get attacker-controlled HTML/CSS rendered by mPDF and must have a reachable internal service to target. Vendor-assessed impact is uniformly Low (VC:L/VI:L/VA:N, SC:L/SI:L), yielding a base score of 6.3. The vuln.today decision label is 'this_month' (moderate urgency, not act_now/emergency), consistent with no CISA KEV entry and no confirmed in-the-wild use. No EPSS score is provided, so exploitation probability cannot be quantified from this data. No POC/exploit-code signal is present in the input, only a VulnCheck analytical advisory. Worth noting a tension between the Low CVSS impact and the real-world potential of gopher://-to-Redis/Memcached SSRF: depending on the internal service's configuration, chosen-byte delivery can enable cache poisoning or, against some Redis setups, more serious internal compromise - so the practical impact in a specific environment can exceed the Low metric, but only where such internal services are reachable and exploitable. Overall: a legitimate issue to patch on a normal cycle, not an emergency, with real risk gated heavily on deployment exposure.

Exploit ScenarioDerived

An attacker submits HTML or CSS (for example via a user-generated document, template, or form field) to a web application that renders it to PDF with mPDF, embedding a resource reference such as gopher://internal-host:6379/ crafted to carry Redis protocol bytes. Because CurlHttpClient::sendRequest does not set CURLOPT_PROTOCOLS, cURL honors the gopher:// (or dict://) scheme and sends the attacker-chosen bytes to the internal host and port, letting the attacker interact with an internal Redis or Memcached instance that is not meant to be externally reachable. No public exploit is identified in the provided data, though VulnCheck has published an advisory describing the flaw.

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 mPDF through 8.3.2 lets an attacker who can inject HTML or CSS into rendered content make the server issue gopher:// or dict:// requests to internal hosts and ports, potentially delivering chosen bytes to services such as Redis or Memcached. The flaw is rated medium severity (CVSS 4.0 6.3; assessed CVSS 3.1 6.3) with high attack complexity and non-default preconditions: an injection path into mPDF-rendered content and a reachable internal target service. No public exploit was identified at time of analysis.

RemediationAI

No vendor-released patch identified at time of analysis; consult the VulnCheck advisory at https://www.vulncheck.com/advisories/mpdf-through-8.3.2-ssrf-via-gopher-and-dict-urls-in-curlhttpclient and the mPDF project for a fixed release. Until a fixed version is confirmed, prevent untrusted HTML or CSS from being rendered by mPDF and restrict outbound network access from the mPDF host, especially to internal Redis, Memcached, and other gopher/dict-reachable services; the trade-off is reduced remote-resource rendering and tighter egress policy that may affect legitimate integrations. Because exploitation requires an injection path into rendered content and a reachable internal target, review where mPDF processes user-supplied content and remove or isolate those paths.

Affected VersionsENISA

mPDF 0 ≤8.3.2

Affected Packages

euvd mpdf 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

CVE-2026-142219 is CWE-918 server-side request forgery in mPDF's HTTP fetching path. The linked source locations include CurlHttpClient::sendRequest, StreamWrapperChecker, and Path, and the described root cause is that CurlHttpClient passes resource URLs to cURL without setting CURLOPT_PROTOCOLS, so gopher:// and dict:// schemes are not restricted alongside normal HTTP(S) fetching. That allows an attacker who controls rendered HTML or CSS to direct mPDF's server-side request to an internal host and port and to send chosen bytes, with Redis or Memcached named as example targets. The CVSS:4.0 vector is AV:N/AC:H/AT:P/PR:N/UI:N with low confidentiality and integrity impact and no availability impact; the independent assessment maps this to CVSS:3.1 AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N, reflecting non-default preconditions rather than a default-install remote hit. The CPE cpe:2.3:a:mpdf:mpdf:*:*:*:*:*:*:*:* covers the affected product range.

Know when Mpdf 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.3 MEDIUM
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
vuln.today AI 5.4 MEDIUM

Network-reachable and unauthenticated (AV:N/PR:N) but needs injected content plus a reachable internal target (AC:H); S:C because impact reaches separate backend services, with partial C/I only.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

DescriptionCVE.org

mPDF through 8.3.2 contains a server-side request forgery vulnerability that allows attackers to reach internal services by supplying gopher:// or dict:// resource URLs in rendered HTML or CSS. CurlHttpClient::sendRequest passes these URLs to cURL without setting CURLOPT_PROTOCOLS, letting attackers send chosen bytes to arbitrary hosts and ports such as Redis or Memcached.

Threat Intelligence Overview

Prevalence
Medium
popular PHP PDF-generation library embedded in many web apps
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
No
Human Impact· derived
Medium

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
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