NetSight
high7.1

CVE-2026-126429

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 resour…

Impact

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.

An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: high risk of data being read.

Affected products · Openemr

ProductAffected versions
Openemr
before 8.5.0

Weakness classification

References