In People → User → Create New 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 399 [details] Profile Photo Accepts Unsupported File Types and Does Not Validate File Size