Hello @Dyt13
Thanks for reaching Q&A platform.
Azure WAF protects against the XSS attacks. The following documents explain about the protection:
Now, the WAF could be integrated with two services:
Azure Application Gateway with WAF: https://learn.microsoft.com/en-us/azure/web-application-firewall/ag/ag-overview
Azure Frontdoor with WAF: https://learn.microsoft.com/en-us/azure/web-application-firewall/afds/afds-overview?source=recommendations
Now Azure Application Gateway is a regional service, and Frontdoor is a Global Service. You must investigate the Web App should be placed behind which service based on the application nature and the requirement, the below document help you choose the service:
Hope this answer helps.
Regards,
Priya Kumar