https://de.wikipedia.org/wiki/Gruy%C3%A8re_(K%C3%A4se)
https://owasp.org/www-project-webgoat/
https://github.com/cure53/XSSChallengeWiki/wiki
https://sites.google.com/site/infosecrocks/ (this links to some of the other stuff I mentioned)
https://www.hacking-lab.com
There's also these 2 advanced XSS challenges:
https://alf.nu/alert1
https://prompt.ml/0
I'm not sure if they're still functional, I think some of their solutions require functionality that browsers have since changed.
You might also want to check out the Youtube channel Live Overflow:
https://www.youtube.com/channel/UClcE-kVhqyiHCcjYwcpfj9w