CVE-2022-50897

MEDIUM

mPDF 7.0 - Local File Inclusion

Title source: llm

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.

Exploits (1)

exploitdb WORKING POC
by Musyoka Ian · pythonwebappsphp
https://www.exploit-db.com/exploits/50995

Scores

CVSS v3 5.5
EPSS 0.0003
EPSS Percentile 10.2%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Details

CWE
CWE-98
Status published
Products (1)
mpdf_project/mpdf 7.0.0
Published Jan 13, 2026
Tracked Since Feb 18, 2026