Question 6
How can you stop a Cross-Site Scripting (XSS) attack?
Backend validation of user input and make sure any user-provided text is not executed as code.
Store authentication token or jwt in cookies.
Use v-html to show user generated data.
Send cookies with every request to the backend.