CVE-2018-19047: mPDF - Server Side Request Forgery
- Cve: CVE-2018-19047
- Name: mPDF - Server Side Request Forgery
- Description: 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.
- Impact: Attackers can perform SSRF attacks, potentially accessing internal resources or causing denial of service.
- Remediation: Sanitize user input HTML before processing with mPDF, and consider updating to the latest version.
- Vulnerability type: server_side_request_forgery
- Vulnerability impact: information_disclosure, denial_of_service
- Requirement type: user_interaction
- Requirements: Attacker needs to pass unsanitized HTML containing malicious image sources
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 10
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- Epss score: 0.02084
- Epss percentile: 0.82047
- Assignee: [email protected]
- Published at: 2018-11-07T05:29:00Z
- Age in days: 2939
- Modified at: 2026-06-17T01:48:41Z
- Public exploits total: 1
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-19047
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
Cwe
| Id | Name |
|---|---|
| CWE-918 | Server-Side Request Forgery |
Hackerone
- Reports: 1
- Rank: 5211
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/mpdf/mpdf/issues/867 | nvd | 2018-11-07 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/mpdf/mpdf/issues/867 | nvd | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| mpdf_project:mpdf | <= 7.1.6 | no | nvd | /v1/products/mpdf_project/mpdf |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| mpdf/mpdf | issues | yes | /v1/repositories/mpdf/mpdf |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2018-11-07
- Remote: yes
- Hackerone reports: 1
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, exposed hosts