CVE-2011-5161: Open-EMR Openemr

Medium severity, CVSS 6.8. EPSS: 2% chance of exploitation in the next 30 days.

Unrestricted file upload vulnerability in the patient photograph functionality in OpenEMR 4 allows remote attackers to execute arbitrary PHP code by uploading a file with an executable extension followed by a safe extension, then accessing it via a direct request to the patient directory under documents/.

Affected products

  • Open-EMR Openemr: version 4.0.0 only; version 4.1.0 only; version 4.1.1 only

Published 2012-09-09. Last modified 2026-06-16.