I believe sanitize_text_field() is need to be used here.