Eventually a patch will come out for OpenEMR. Pathcing is pretty simply.
Check for a patch file
As of this writing patch 2 is out:
https://www.open-emr.org/wiki/index.php/OpenEMR_Patches
Download the patch file
cd /var/www/html/openemr
sudo wget https://www.open-emr.org/patch/6-0-0-Patch-2.zip
sudo unzip 6-0-0-Patch-2.zip
Answer A to replace all files.
8cd42203-f824-483b-b74b-d9a34a59fcc1-image.png
Delete the downloaded patch file
sudo rm 6-0-0-Patch-2.zip
Set apache as the owner of everything again.
sudo chown -R apache:apache /var/www/html
Recursively set the folder httpd_sys_rw for SELinux again
sudo semanage fcontext -a -t httpd_sys_rw_content_t "/var/www/html/openemr(/.*)?"
sudo restorecon -FR /var/www/html/openemr/
Run the SQL Patch page
https://12.34.56.78/sql_patch.php
Delete the SQL patch file
sudo rm sql_patch.php
Update completed.