You can use community commons xsssaniteze inside your microflows/submicroflows.
In your case, I would create a microflow as the below flow (image) and call this microflow wherever it is needed. Reuse this microflow as much as your inputs require you to do so.
I hope this helps.
The default Mendix input widgets are sanitized by default. So you only need to worry about widgets like the HTML editor (setting in the properties) or custom input widgets.