CVE-2018-19047Mpdf Project Mpdf
Critical 10.0 No auth needed
Follow: this CVE · Mpdf Project · Mpdf Project Mpdf We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Mpdf.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mpdf_project | mpdf | ≤ 7.1.6 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Third Party Advisory