CVE-2022-50897

Source
https://cve.org/CVERecord?id=CVE-2022-50897
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50897.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-50897
Published
2026-01-13T22:51:44Z
Modified
2026-10-28T02:30:55Z
Severity
  • 8.7 (High) CVSS_V4 - 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 CVSS Calculator
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.

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":  [
                {
                    "range":  [
                        {
                            "introduced":  "7.0"
                        },
                        {
                            "last_affected":  "7.0"
                        }
                    ],
                    "source":  "AFFECTED_FIELD",
                    "strategy":  "StandaloneSingleVersion"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/mpdf/mpdf

Affected ranges

Type
GIT
Repo
https://github.com/mpdf/mpdf
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "cpe":  "cpe:2.3:a:mpdf_project:mpdf:7.0.0:-:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "7.0.0-NA"
                },
                {
                    "last_affected":  "7.0.0-NA"
                }
            ],
            "source":  "CPE_STRING"
        }
    ]
}

Affected versions

7.*
7.0.0-NA
v7.*
v7.0.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50897.json"