Any data passed in my a user needs to be validated before being saved to the database. I'd like to use a package for this rather than rolling my own. Look into external libraries that can do this and then implement the validation between user input and saving.
It looks like Cerberus is only for schema validation and not for actually doing any scrubbing and sql injection cleaning. It may still be very useful over something like Marshmallow, but it's not going to clean.
Any data passed in my a user needs to be validated before being saved to the database. I'd like to use a package for this rather than rolling my own. Look into external libraries that can do this and then implement the validation between user input and saving.