Duplicate of:
What common web exploits should I know about?
This is a security question.
What should I look for in URL that prevents hacking?
Is there a way to execute javascript by passing it inside a URL?
As you can see I'm pretty new to this concept.
Any good posts on this stuff?
Javascript can be executed against the current page just by putting it in the URL address, e.g.
javascript:;alert(window.document.body.innerHTML); javascript:;alert(window.document.body.childNodes[0].innerHTML);
2.1m questions
2.1m answers
60 comments
57.0k users