I am using Acunetix to scan my PHP application for security issues.
After all scans, I get a medium alert related to CRLF vulnerability. But I don't know how can I fix this issue.
I created a function to remove all possible codes for injections but it does not solve the problem.
function remove_crlf($input) {
$output = str_replace(array('\r','\n','\r\n','\n\r','%0d','%0a'),null,$input);
return $output;
}
Do you have any solution?