How can we prevent cross site scripting dom for typescript[fortify scan], for angular we use domsanitizer and for javascript we use esapi but how to fix for url cross scripting dom fortify scan. Any suggestions are helpful.
Tried using regex but the issue still persists in fortify.