interface/patient_file/letter.php in OpenEMR before 5.0.1 allows remote authenticated users to bypass intended access restrictions via the newtemplatename and form_body parameters.
Exploit prediction scoring system (EPSS) score
EPSS Score 0.018
EPSS Ranking 79.2%