filter special characters from permalinks i.e domain.com/?p=c%3A%2F

61 Views Asked by At

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?

0

There are 0 best solutions below