Does magento 2.4 has build-in mechanisms for xss prevention or should I use my own?

Dimitrios Desyllas - Sep 5 '23 - - Dev Community

I made my own adminhtml form as I post upon:
https://magento.stackexchange.com/q/369583/113388

But I wonder should at my model impements my own anti-xss measures or magento has their own mechanisms already implementes (like before calling the controller upon sumbission) ?

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player