SugarCRM prior to 8.0.4 and 9.x prior to 9.0.2 allows PHP code injection in the EmailMan module by an Admin user.
sugarcrm sugarcrm