Level 75
XSS attacks are an output problem.
But for sanitize you can use https://github.com/Waavi/Sanitizer
From documentation.
Blade {{ }} statements are automatically sent through PHP's htmlspecialchars function to prevent XSS attacks.
how to sanitize user input ($request data), to prevent xss attack??
Please or to participate in this conversation.