{"id":"CVE-2022-50897","summary":"mPDF 7.0 - Local File Inclusion","details":"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.","modified":"2026-08-12T03:51:32.005348162Z","published":"2026-01-13T22:51:44.575Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-98"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50897.json","unresolved_ranges":[{"extracted_events":[{"introduced":"7.0"},{"last_affected":"7.0"}],"source":"AFFECTED_FIELD"}]},"references":[{"type":"WEB","url":"https://mpdf.github.io/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50897.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50897"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/mpdf-local-file-inclusion"},{"type":"EVIDENCE","url":"https://www.exploit-db.com/exploits/50995"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mpdf/mpdf","events":[{"introduced":"375a79a575fde762a7c390766837e78e8dfe97bf"},{"last_affected":"375a79a575fde762a7c390766837e78e8dfe97bf"}],"database_specific":{"cpe":"cpe:2.3:a:mpdf_project:mpdf:7.0.0:-:*:*:*:*:*:*","extracted_events":[{"introduced":"7.0.0-NA"},{"last_affected":"7.0.0-NA"}],"source":"CPE_STRING"}}],"versions":["7.0.0-NA","v7.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50897.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}