CVE-2026-142219: mPDF through 8.3.2 SSRF via gopher:// and dict:// URLs in CurlHttpClient

Published Dec 2, 2026
·
Updated

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 CURLOPTPROTOCOLS, letting attackers send chosen bytes to arbitrary hosts and ports such as Redis or Memcached.

Affected Software

1 affected component
composer/mpdf/mpdf<=8.3.2

Event History

Dec 2, 2026
CVE Published
via MITRE·04:50 PM
Data Sourced
via MITRE·04:50 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:17 PM
DescriptionSeverityWeakness
Event
via NVD·05:17 PM

Frequently Asked Questions

1

Who is exposed to this issue?

Applications using composer/mpdf/mpdf through version 8.3.2 are exposed when untrusted parties can supply HTML or CSS that mPDF renders and that can reference external resource URLs.

2

What does an attacker need to exploit it?

The attacker needs a way to cause mPDF to render HTML or CSS containing a gopher:// or dict:// resource URL. No authentication or user interaction is required by the vulnerability vector, but exploitation has high attack complexity.

3

What internal targets could be reached?

The vulnerable cURL request handling can connect to arbitrary hosts and ports reachable from the server running mPDF. The supplied data specifically identifies services such as Redis and Memcached as potential targets and notes that chosen bytes can be sent.

4

How can I determine whether my deployment is affected?

Check whether your application uses composer/mpdf/mpdf version 8.3.2 or earlier and whether its mPDF rendering input permits externally controlled HTML or CSS resource URLs. Review rendered content for gopher:// or dict:// references.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203