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.
Metrics
CVSS 3.1 6.5/10
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| openemr | openemr | < 8.5.0 |
References
- https://github.com/openemr/openemr/security/advisories/GHSA-h4xc-pqg3-8459Exploit, Mitigation, Vendor Advisory
- https://www.vulncheck.com/advisories/openemr-before-8.5.0-local-file-disclosure-via-doc-lib-php-pdf-rendererThird Party Advisory
Timeline
- Published
- Nov 13, 2026
- Last modified
- Nov 17, 2026
- NVD status
- Analyzed