CVE-2022-50897
published high CVSS 4.0 · 8.7mPDF 7.0 - Local File Inclusion
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| mPDF | — | mPDF7.0 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.5 | medium | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| mPDF | mPDF | 7.0 (affected) | VulnCheck · cna |
Weaknesses
1- CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')
References
3- Official mPDF Project Homepage https://mpdf.github.io/
- ExploitDB-50995 https://www.exploit-db.com/exploits/50995
- VulnCheck Advisory: mPDF 7.0 - Local File Inclusion https://www.vulncheck.com/advisories/mpdf-local-file-inclusion
Provider assertions
2VulnCheck · cna
mPDF 7.0 - Local File Inclusion
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b754fa0dceae6a19a2cc78f6b9c95a8688980bcc5576f12092a2b2f533c190ec
- Ingested
- 23 Sep 2026, 08:04:58 UTC
- Source record
- Official CVE record