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:44.575Z
Modified
2026-07-15T01:49:10.706753545Z
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"
    ],
    "unresolved_ranges": [
        {
            "source": "AFFECTED_FIELD",
            "extracted_events": [
                {
                    "introduced": "7.0"
                },
                {
                    "last_affected": "7.0"
                }
            ]
        }
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50897.json"
}
References

Affected packages

Git / github.com/mpdf/mpdf

Affected ranges

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

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"