What’s Vulnerable › Vulnerabilities
CVE-2022-50897: mPDF 7.0 - Local File Inclusion
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-01-13 · updated 2026-06-17
- Weakness: CWE-98
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.
Affected products
- mPDF: 7.0.0
References
- https://mpdf.github.io/
- https://www.exploit-db.com/exploits/50995
- https://www.vulncheck.com/advisories/mpdf-local-file-inclusion
Get alerted when CVE-2022-50897 or the next vulnerability affects your stack