whenever I scan my website for security in OWASP ZAP it always show the high risk vulnerability of path traversal attack from certain urls i.e
domain.com/?p=c%3A%2F
domain.com/?post_type=c%3A%2F
domain.com/?s=c%3A%2F
How can I secure my website from these kind of path traversal attacks?