CVE-2022-50897: mPDF 7.0 contains a local file inclusion vulnerability that allows attackers to read arbitrary system files by
CVE-2022-50897 is a medium-severity flaw (CVSS 5.5) affecting mpdf. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Public exploit reference
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 5.5 (Medium) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.6% (top 53%) |
| CISA exploited list | No |
| Weakness | CWE-98 |
| Published | 2026-01-13 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-50897?
mpdf: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2022-50897 being exploited?
CVE-2022-50897 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-50897 affect?
CVE-2022-50897 affects mpdf. Severity is medium (CVSS 5.5). 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 cra
How urgent is CVE-2022-50897?
Priority 36/100. Public exploit reference