Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessInject gopher:// URL into rendered HTML/CSS
-
ExploitmPDF passes URL to cURL unrestricted
-
ExecutioncURL delivers crafted bytes to internal Redis/Memcached
-
ImpactAlter 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. |
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 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
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
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
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
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.
mPDF through 7.1.6, if deployed as a web application that accepts arbitrary HTML, allows SSRF, as demonstrated by a '<im
mPDF version 7.1.7 and earlier contains a CWE-502: Deserialization of Untrusted Data vulnerability in getImage() method
mPDF 7.0 contains a local file inclusion vulnerability that allows attackers to read arbitrary system files by manipulat
Memory exhaustion in mPDF through 8.3.2 lets anyone able to place an SVG into a rendered document crash the PDF-generati
EUVD-2026-141611
GHSA-f2h6-w2m7-r78f
NVD
CVE.org
Exploit-DB