Home

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.

PUBLISHED Reserved 2026-01-10 | Published 2026-01-13 | Updated 2026-02-02 | Assigner VulnCheck




HIGH: 8.7CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
MEDIUM: 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Problem types

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')

Product status

7.0
affected

Credits

Musyoka Ian finder

References

www.exploit-db.com/exploits/50995 (ExploitDB-50995) exploit

mpdf.github.io/ (Official mPDF Project Homepage) product

www.vulncheck.com/advisories/mpdf-local-file-inclusion (VulnCheck Advisory: mPDF 7.0 - Local File Inclusion) third-party-advisory

cve.org (CVE-2022-50897)

nvd.nist.gov (CVE-2022-50897)

Download JSON