Skip to content

Commit

Permalink
Update xss-example.js
Browse files Browse the repository at this point in the history
  • Loading branch information
tomer-mobb authored Jan 9, 2024
1 parent 62b83b8 commit e620e9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xss-example.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ var urlParams = new URLSearchParams(window.location.search);
var username = urlParams.get('username');

var unsafe_div = window.document.getElementById("vulnerable-div");
unsafe_div.innerHTML = "Hello to you, " + username + "!!!";
unsafe_div.innerHTML = "Hello to you, " + username + "!!!!";

0 comments on commit e620e9f

Please sign in to comment.