Live threats

All CVEs / Mpdf Project

CVE-2018-19047Mpdf Project Mpdf

Critical 10.0 No auth needed

Priority
75
CVSS 3.0
10.0
EPSS
2.1%
probability of exploitation in 30 days · percentile 82
Auth required
No
Published
Nov 7, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-918
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

What happens

mPDF through 7.1.6, if deployed as a web application that accepts arbitrary HTML, allows SSRF, as demonstrated by a '<img src="http://192.168' substring that triggers a call to getImage in Image/ImageProcessor.php. NOTE: the software maintainer disputes this, stating "If you allow users to pass HTML without sanitising it, you're asking for trouble.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mpdf.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
mpdf_projectmpdf≤ 7.1.6

Official sources

References

Links published by the sources. Open them with care.