Can anyone help me fixing File Upload vulnerability after I uploaded a file by changing the extension from .html to .png?
Step 1: I changed the extension of a html file from .htm(not allowed to upload) to .png(Allowed to upload)
example test.html to test.png
Step 2: Uploaded test.png in the application
Step 3: Run the Vulnerability test
Step 4: Got a vulnerability issue
enter image description here