Skip to main content
← All vulnerabilities
CVE-2019-1000005GHSA-3CWC-M7C2-QR86

mPDF version 7.1.7 and earlier contains a CWE-502: Deserialization of Untrusted Data vulnerability in getImage() method of Image/ImageProces

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.1.8
None on Exploit-DB, Metasploit or GitHub

Summary

mPDF version 7.1.7 and earlier contains a CWE-502: Deserialization of Untrusted Data vulnerability in getImage() method of Image/ImageProcessor class that can result in Arbitry code execution, file write, etc.. This attack appears to be exploitable via attacker must host crafted image on victim server and trigger generation of pdf file with content <img src="phar://path/to/crafted/image">. This vulnerability appears to have been fixed in 7.1.8.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • mpdf/mpdfPackagist

    fixed in 7.1.8

References 1

GitHub · mpdf/mpdf