Official mPDF Project Homepageproduct
https://mpdf.github.io/ CVE-2022-50897
HIGH
mPDF 7.0 - Local File Inclusion
Record summary
CVE-2022-50897 has a selected CVSS score of 8.7 (high); EIP currently links 1 catalogued exploit.
Description
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.
Description source: CVE List
Exploitation context
Available material
- Catalogued exploits
- 1
CISA SSVC decision
ExploitationNone
AutomatableYes
Technical impactPartial
CISA Coordinator · SSVC 2.0.3 · Evaluated Jan 14, 2026 · Source: CVE List
Affected products and versions
1| Product | Source | Version range | Status |
|---|---|---|---|
| CVE List | 7.0 | affected |
Proofs of concept
1Catalogued exploits
ExploitDBmPDF 7.0 - Local File InclusionExploitDB exploitby Musyoka IanNot analyzed1 file
References
4nvd.nist.gov
https://nvd.nist.gov/vuln/detail/CVE-2022-50897 ExploitDB-50995exploit
https://www.exploit-db.com/exploits/50995 VulnCheck Advisory: mPDF 7.0 - Local File InclusionThird-party advisory
https://www.vulncheck.com/advisories/mpdf-local-file-inclusion