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

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.57%, higher than 48% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-13T22:51:44.575Z
- Modified: 2026-06-17T05:24:22.570Z
- Weaknesses: CWE-98
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- mPDF mPDF: 7.0
- mpdf_project mpdf: 7.0.0

## Every score

- VulnCheck: CVSS:4.0 8.7 High `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`
- VulnCheck: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://www.exploit-db.com/exploits/50995> (exploit)
- <https://mpdf.github.io/> (product)
- <https://www.vulncheck.com/advisories/mpdf-local-file-inclusion> (third-party-advisory)

## Sources

- CVE List: [CVE-2022-50897](https://www.cve.org/CVERecord?id=CVE-2022-50897), CVE Terms of Use, modified 2026-03-05
- NVD: [CVE-2022-50897](https://nvd.nist.gov/vuln/detail/CVE-2022-50897), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-50897 · Whole record: https://cve.day/CVE-2022-50897.json · Rebuilt by cve.day 2026-11-25T22:58:21.406Z
