Security readout for executives and security teams
Plain-English summary
CVE-2022-50897 affects mPDF 7.0, a PHP library used to generate PDFs. A malicious user could craft PDF annotation content that makes the library read local system files. The main business risk is exposure of sensitive files from servers that process untrusted PDF or annotation input.
Executive priority
Prioritize review if mPDF 7.0 is used in customer-facing or partner-facing document workflows. The vulnerability can expose server-side files without authentication according to the CVSS vector. If mPDF is not used or input is fully trusted, urgency is lower.
Technical view
The issue is a local file inclusion flaw in mPDF 7.0 involving annotation file parameters. The CVE describes URL-encoded or base64-crafted annotation content with file path specifications that can include arbitrary local files. CVSS v4.0 is 8.7, with network attack vector, low complexity, no privileges, and no user interaction.
Likely exposure
Most relevant to applications using mPDF 7.0 to process attacker-controlled HTML, PDF annotation content, or document-generation inputs. Exposure is lower where mPDF is not present, not version 7.0, or only processes trusted server-side templates.
Exploitation context
A public Exploit-DB entry is referenced, so proof-of-concept information appears publicly available. The provided sources do not show CISA KEV listing or confirmed active exploitation. Treat internet-facing document-generation workflows accepting untrusted input as higher priority.
Researcher notes
Evidence is limited to the CVE description, VulnCheck advisory reference, Exploit-DB reference, and mPDF project page. The source bundle identifies mPDF 7.0 only. No official fixed version or vendor mitigation is provided in the supplied sources, so remediation should be verified against current mPDF guidance.
Mitigation direction
- Inventory applications and services using mPDF and identify any mPDF 7.0 deployments.
- Check official mPDF project guidance and release notes for upgrade or remediation direction.
- Restrict untrusted annotation or document-generation input until vendor guidance is applied.
- Limit filesystem permissions for PDF-generation processes to reduce readable sensitive files.
- Monitor logs for unusual document-generation requests referencing local file paths.
Validation and detection
- Confirm the exact mPDF version in application dependencies and deployed artifacts.
- Map whether users can influence annotation content or file parameters.
- Review application paths that pass external input into mPDF PDF generation.
- Verify runtime permissions prevent reading secrets, configuration files, and OS-sensitive files.
- Document compensating controls if upgrade guidance is not yet available.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CWE-98: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupCVE-2022-50897 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- High
- CVSS
- 8.7 (4.0)
- Known Exploited
- No
- Published
Vector: 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
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest 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——Primary CVE scoreVulnerability scoring details
Base CVSS 4.0 score
8.7HighVector: 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
Source materials
- CVE List V5 sourceCVE List V5
- ExploitDB-50995CVE reference · exploit
- Official mPDF Project HomepageCVE reference · product
- VulnCheck Advisory: mPDF 7.0 - Local File InclusionCVE reference · third-party-advisory
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
