In Burp Scanner Report, I got below issue
The application may be vulnerable to DOM-based cross-site scripting. Data is read from location and passed to $() via the following statement:
$(location).attr('href',"/MYAPP/home.action");
How this can be avoided. Will below solution to prepend '/' work in this case or it will be still exploitable
$(location).attr('href','/'+"MYAPP/home.action");