Which HTTP method is commonly used by WebDAV to upload files to a web server, and if misconfigured, could allow an attacker to upload malicious scripts?
PUT is the HTTP method used to upload files in WebDAV.
Why this answer
The PUT method allows uploading resources to the server, and if enabled without proper controls, can be exploited to upload malicious files.