6.5Medium
CVE-2026-126429OpenEMR before 8.5.0 Local File Disclosure via doc_lib.php PDF Renderer
Description
OpenEMR before 8.5.0 passes authenticated user-controlled HTML from the doc_lib.php content parameter to mPDF, which resolves local files and nested SVG resources. Authenticated patients or core users can submit crafted CSS imports or php://filter SVG references to read arbitrary server files including credentials and OAuth keys.
Weakness (CWE):
CWE-73
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
References and patches
- GitHub Security Advisory (GHSA-h4xc-pqg3-8459) vendor-advisoryExploitMitigationVendor Advisory
- VulnCheck Advisory: OpenEMR before 8.5.0 Local File Disclosure via doc_lib.php PDF Renderer third-party-advisoryThird Party Advisory
CPE matches (NVD) (1)
cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*< 8.5.0