GHSA-f2h6-w2m7-r78fMediumCVSS 5.4
mPDF through 8.3.2 contains a server-side request forgery vulnerability that allows attackers to...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (6)
- https://nvd.nist.gov/vuln/detail/CVE-2026-142219
- 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
- https://github.com/advisories/GHSA-f2h6-w2m7-r78f