We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Open source form receiver and forwarder for static website

Avatar photo[anonymous]
[anonymous] wrote:

Hi Itips3727,

Thanks for sending me the above script but I have the idea that the script is not safe because it doesn’t test for Cross Site Scripting (XSS).


Hi @Verhoeckx,

Try adding XSS protection into your .htaccess file.

For example:

## Reflected XSS protection
<IfModule mod_headers.c>
Header set X-XSS-Protection "1; mode=block"

Hope that works for you. 😉