Vulnerability in Mpdf
CVE-2022-50897
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.006 (44.1th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 44th percentile — 44.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.006 · change: +0.001
Affected products
- Mpdf — versions 7.0
- Mpdf Project — versions 7.0.0
Weakness classification (CWE)
References
- www.exploit-db.com/exploits/50995 (Exploit, exploit)
- mpdf.github.io/ (Product, product)
- www.vulncheck.com/advisories/mpdf-local-file-inclusion (Third Party Advisory, third-party-advisory)
Frequently asked questions
- What is CVE-2022-50897?
- CVE-2022-50897 is a medium-severity vulnerability in Mpdf, classified under PHP Remote File Inclusion. CVSS score: 5.5/10. Published 2026-01-13.
- How severe is CVE-2022-50897?
- Medium severity. CVSS v3 base score is 5.5 out of 10.