Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7697417
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T22:00:31+00:00 2026-05-31T22:00:31+00:00

I have a confusion, i was going through a blog and in its comment

  • 0

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?

<form action="../process.php" method="post" name="login-form" target="_self">
    <div class="FormItem">Username:
      <span id="sprytextfield1">
      <input class="textbox" type="text" name="text1" id="text1">
      <span class="textfieldRequiredMsg">A value is required.</span></span>
      </div>

      <div class="clear"></div>

      <div class="FormItem">Password:
        <span id="sprypassword1">
        <input class="textbox" type="password" name="password" id="password1">
      <span class="passwordRequiredMsg">A value is required.</span></span>
      </div>

      <div class="FormItem">
      <input name="login-submit" type="submit" value="SUBMIT">
      </div>
    </form>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T22:00:33+00:00Added an answer on May 31, 2026 at 10:00 pm

    it has nothing to do with security

    the last time i used target, it was just to tell the form where the results are to be displayed, be it in the page itself, an iframe, or another frame in a frameset. as far as i know, it’s pretty much useless.

    here’s a reference from sitepoint, indicating that “target” in forms are deprecated. (Hint: they died with Frameset)

    The target attribute is deprecated, and, like the use of frameset for layout purposes, it’s no longer widely used. However, if you do find yourself having to maintain a frameset-based web site, you may wish to present the results of a form submission in a separate frame. For example, you might work with a two-framed page that displays the search form in the first frame and the search results in the second frame, refreshing only the results frame each time the form is submitted.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been tasked with going through a number of ColdFusion sites that have
I have planed to start using a framework in php development. After going through
I have a whole array of regexp queries to make recursively going through the
I have been going through documentation and such and have SVN working, but I
After going through every possible resources I came to conclusion that I need an
I have a confusion between two B keywords. The official B reference manual uses
i have few confusion regarding ORM(Object Relational Mapping) i am thinking about to use
I have a confusion regarding DataContext which i would like someone to confirm or
I have some confusion about when to use the self keyword during ivars assignment,
Based on an answer from a candidate I have a confusion regarding the functioning

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.