All vulnerabilities

Packagist

CVE-2026-142219

mPDF through 8.3.2 SSRF via gopher:// and dict:// URLs in CurlHttpClient

Severity
Medium 6.3
Published
2 Dec 2026
Last changed
2 Dec 2026
Added to UpHeron
2 Dec 2026
Weakness
Server-side request forgery (CWE-918)
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Read some data · Change some data
CVSS vector
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
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
mpdf/mpdfPackagist · osv:Packagist:mpdf/mpdf
  • Every version up to 8.3.2

About mpdf/mpdf

Monthly downloads (Packagist)
4,614,253Packagist, 2 Dec 2026
Total downloads (Packagist)
100,554,486Packagist, 2 Dec 2026

Vulnerabilities in mpdf/mpdf

In our list
2
Published in the last 12 months
2
Critical, last 12 months
0
High, last 12 months
0
Known exploited
0
Search the list for mpdf/mpdf

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-142219