In People → User → Edit User, the Profile Photo field allows unsupported file types, such as setup files, without displaying a validation message. Additionally, when the uploaded file exceeds the permitted size limit, the appropriate file size validation message is not displayed.
Created attachment 406 [details] Profile Photo Accepts Unsupported File Types and Does Not Validate File Size in Edit User Page