JSTL function escapeXml (List<SelectOption>) -
<div class="width-20"> <div class="inputblock clear"> <label>select month: <form:select id="monthselected" path="month" items="${form.monthlist}" itemlabel="label" itemvalue="value" /> </label> </div> </div> i getting error:
taint_path_call: form.getmonthlist() returns tainted data.all elements of collection considered tainted.this event occurs inside org.apache.jsp.web_002dinf.jsp.reports.reports_jsp._jspservice(javax.servlet.http.httpservletrequest, javax.servlet.http.httpservletresponse), no source code found.
(#1 of 1): cross-site scripting (xss) 5. xss_injection_site: adding ${form.monthlist} html page allows cross-site scripting, because not sanitized context html double quoted attribute.
monthlist type of list<selectoption>
Comments
Post a Comment