I'm trying to debug how IE caches page data (such as input and textarea) in the browser history.
Navigation sequence:
Page1 with textarea -> user navigates to Page2 -> goes back to Page1 and textarea data is repopulated by the browser
If the user injects malicious code into the textarea, it gets evaluated by the angular and leads to XSS attack.
My objective is to sanitize the data before it gets stored in the browser history. Any leads to understanding this will be helpful.