framework
framework copied to clipboard
Avatar Uploader does not remove files after validation failure
Reference thread https://discuss.flarum.org/d/3381-i-have-found-avatar-upload-bug-for-upload-shell-backdoor
When a user uploads a file that fails image validation, the file is kept on the server in storage/tmp. This may trigger antivirus warnings if malicious files are uploaded
The file should be deleted immediately if validation fails for uploads.
Currently occurring in dev-master and possibly beta.5