Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Cyber Security
  3. Question
Cyber Security

What is the significance of javascript in url?

Asked by Aaditya Srivastva Mar 23, 2022 798 views 1 answer
Share

About this question

 I am learning about "Session fixation" and have read the corresponding OWASP page. In their Example 2 in the above page, they describe an attack via JavaScript, that is embedded in the URL like:


http://website.kom/[removed][removed]=”sessionid=abcd”;[removed]I tried this with an embedded [removed]alert("XSS!!");[removed], but as expected, it did not work.Is there ANY way an URL can run embedded JavaScript?


Note: This question is somewhat similar to Execute reflected XSS in URL, but I am talking about scripts in the URL, not from a HTTP header.

Your answer

1 Answer

More Cyber Security discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Cyber Security Blogs

Guides, tips and career advice on Cyber Security from JanBask experts.