Wanneer een bericht "substring" bevat, krijg ik een 403-fout

You might have a WAF enabled that blocks XSS attempts and substring is commonly used in the exploit syntax. If you’re using Cloudflare with WAF enabled that would be the cause.