I have a NodeJS backend that receives some user data which will be stored in a database. Currently it is not being sanitised anywhere.
Are there any risks in writing it directly to the console with console.log? If so, what is a reasonable way to sanitise it?