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

Read the record on cve.org

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.

ProductVersions
openemr openemrbefore 8.5.0 Affected8.5.0 Not Affected

Weaknesses

  • CWE-73 External Control of File Name or Path

References

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.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.