title: Is form target="_self" is vulnerable?
body: <p>I have a confusion, i was going through a blog and in its comment it was suggested that  target="_self" is vulnerable. It is true, if yes how we can fix it?</p>
  
  <pre><code>&lt;form action="../process.php" method="post" name="login-form" target="_self"&gt;
      &lt;div class="FormItem"&gt;Username:
        &lt;span id="sprytextfield1"&gt;
        &lt;input class="textbox" type="text" name="text1" id="text1"&gt;
        &lt;span class="textfieldRequiredMsg"&gt;A value is required.&lt;/span&gt;&lt;/span&gt;
        &lt;/div&gt;
  
        &lt;div class="clear"&gt;&lt;/div&gt;
  
        &lt;div class="FormItem"&gt;Password:
          &lt;span id="sprypassword1"&gt;
          &lt;input class="textbox" type="password" name="password" id="password1"&gt;
        &lt;span class="passwordRequiredMsg"&gt;A value is required.&lt;/span&gt;&lt;/span&gt;
        &lt;/div&gt;
  
        &lt;div class="FormItem"&gt;
        &lt;input name="login-submit" type="submit" value="SUBMIT"&gt;
        &lt;/div&gt;
      &lt;/form&gt;
  </code></pre>