title: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) (CWE ID 80) for response.BinaryWrite
body: <p>I tried by applying encode for filename but still getting veracode error at <strong>response.BinaryWrite(data);</strong></p>
  
  <p>Below is my code:</p>
  
  <pre><code>                    WebClient req = new WebClient();
                      HttpResponse response = HttpContext.Current.Response;
                      response.Clear();
                      response.ClearContent();
                      response.ClearHeaders();
                      response.Buffer = true;
                      response.AddHeader("Content-Disposition", "attachment;filename=\"" + XSSSec.Encoder.HtmlEncode(FileName) + "\"");
                      byte[] data = req.DownloadData(FilePath);
                      response.BinaryWrite(data);
                      Response.Flush();
                      Response.SuppressContent = true;
  </code></pre>
  
  <p>Any suggestions to fix this issue?</p>