Recently we run VeraCode on our web application. In following function, we got CWE80, Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS), on the line
if (currentURL.indexOf("#${HelpForm.btnBuscar}") == -1)
Does anyone have any suggestion how to fix this?