Spring Security should be used to sanitize all the end points.
Spring Security should be used to sanitize all the end points.