
VBonde168871 (Community Member) asked a question.
Please help me out to resolved CWE id 159 information flaw I used proper method as per veracode document still flaw not getting mitigated.code is blow
Previous code-
Var name=encoder.forjavascript(name.value())
after code-
Var name=encoder.forjavascriptblock("name");
Still flaw open...
.png)
Veracode Static Analysis flags CWE 159 when the incorrect encoding method has been used for the context. Unfortunately, to help you with this we'll need more information on your specific flaw.
Please click the user menu in the upper right of the community and click "Contact Support". On the resulting screen please make sure to provide a link to the Veracode Platform (for example https://analysiscenter.veracode.com/auth/index.jsp#ReviewResultsAllFlaws:49327:315877:2916948:3269272:3292539::370803 and the flaw id, for example flaw id 1237 ).