OpenEMR before 8.5.0 Local File Disclosure via doc_lib.php PDF Renderer
- State
- Published
- Severity
- 7.1 High
- Published
- Nov 13, 2026
- Updated
- Nov 17, 2026
- Reserved
- Nov 10, 2026
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.
| Product | Versions |
|---|---|
| openemr openemr | before 8.5.0 Affected8.5.0 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 7.1 High | VulnCheck | |
| 3.1 | 6.5 Medium | VulnCheck |
Weaknesses
- CWE-73 External Control of File Name or Path
References
- GitHub Security Advisory (GHSA-h4xc-pqg3-8459)Vendor Advisory
- VulnCheck Advisory: OpenEMR before 8.5.0 Local File Disclosure via doc_lib.php PDF RendererThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.