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

  • SEARCH
  • Home
  • 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 8599871
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T01:29:23+00:00 2026-06-12T01:29:23+00:00

If I use xss, what’s the difference between typing in ALERT(‘DSSA’);, or just paste

  • 0

If I use xss, what’s the difference between typing in ALERT(‘DSSA’);, or just paste it to a search textfield? In a site, typing works, and makes the alert, but if I just paste it, than it doesn’t. To prevent the question, I don’t want to hack any site, I’m just interested in network security.

thanks for the answer

  • 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-06-12T01:29:25+00:00Added an answer on June 12, 2026 at 1:29 am

    This will be because the programmer who built the website is lazy and hasn’t listened for the onpaste event.

    Typing fires the onkeydown, onkeypress and onkeyup events, and are the standard events to consider when watching for user input.

    It would seem those are the only events the programmer has listened for (which makes this irrelevant of network security).


    If this is not the case, then he’ll be using two different event handlers for the events; one which escapes the input, and in the other he’s forgotten.

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

Sidebar

Related Questions

So, preventing website from XSS attack is very simple, you just need to use
I like to prevent XSS on my project, i just use Erlang and nginx.
How does the XSS (Cross Site Scripting) support provided by ASP.net differs from AntiXss.
I'm getting a vulnerability alert from Mcafee Secure saying that there is an XSS
To prevent an xss attack, if I use a php regex to block strange
I'm xss-proofing my web site for javascript and xss attacks. It's written in ASP.NET
I've been trying to use this code in some XSS research I am conducting.
There are known Style Attribute XSS attacks like: <DIV STYLE=width: expression(alert('XSS'));> Or <DIV STYLE=background-image:
I understand quite well how XSS works in theory, however I lack the knowledge
To avoid SQL injection and XSS we use the function htmlspecialchars() or others like

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.