Description
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.
Metrics
CVSS 3.1 5.4/10
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:NWeakness enumeration
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| mpdf | mPDF | <= 8.3.2 |
References
- https://github.com/mpdf/mpdf/blob/v8.3.2/src/File/StreamWrapperChecker.php#L22-L44
- https://github.com/mpdf/mpdf/blob/v8.3.2/src/Http/CurlHttpClient.php#L25-L67
- https://github.com/mpdf/mpdf/blob/v8.3.2/src/Utils/Path.php#L32-L37
- https://www.vulncheck.com/advisories/mpdf-through-8.3.2-ssrf-via-gopher-and-dict-urls-in-curlhttpclient
Timeline
- Published
- Dec 2, 2026
- Last modified
- Dec 3, 2026
- NVD status
- Received