It must be monitored. You need good mods and admins keeping things clean. There's gonna be instances where someone will upload something fucked and that risk comes with hosting such a service.
I know Cloudflare has a built in CSAM scanning tool that requires registration to enable, but other than that, you'll have to monitor your site.