mPDF 7.0 - Local File Inclusion
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-98.
Summary
mPDF 7.0 contains a local file inclusion vulnerability that allows attackers to read arbitrary system files by manipulating annotation file parameters. Attackers can generate URL-encoded or base64 payloads to include local files through crafted annotation content with file path specifications.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| mPDF | mPDF | 7.0 | — | No fix listed | CNA |
- mPDF VendormPDF Affected 7.0 Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:mpdf_project:mpdf:7.0.0:-:*:*:*:*:*:* | 7.0.0 | Vulnerable | Mpdf Project |
- cpe:2.3:a:mpdf_project:mpdf:7.0.0:-:*:*:*:*:*:* Versions 7.0.0 Vulnerable ·Mpdf Project
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2022-50897
- 2026-10-03 Alias added: GHSA-r9c5-x9r9-f4w3
References
Exploit 1
More Mpdf Project Mpdf vulnerabilities
- TI-2018-13501 mPDF through 7.1.6, if deployed as a web application that accepts arbitrary HTML, allows… CVSS 3.0CRITICAL 10.0
- TI-2019-15822 mPDF version 7.1.7 and earlier contains a CWE-502: Deserialization of Untrusted Data… CVSS 3.0HIGH 8.8
Sources
- CVE-2022-50897 · CVE Program
- CVE-2022-50897 · NVD
- FIRST EPSS
- GHSA-r9c5-x9r9-f4w3 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences