CVE-2022-50897 HIGH

CVE-2022-50897: mPDF 7.0 - Local File Inclusion

Vendor Mpdf
Product mPDF
Weakness CWE-98 · PHP file inclusion
Published January 13, 2026
Last update March 5, 2026

CVSS base score

8.7/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality
Integrity

CVSS vector

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

January 13, 2026 CVE published
March 5, 2026 Record updated