Skip to content

Instantly share code, notes, and snippets.

@K-Mistele
Created January 15, 2021 21:43
Show Gist options
  • Select an option

  • Save K-Mistele/9f90d91376d85874f3a19375ea8a3f85 to your computer and use it in GitHub Desktop.

Select an option

Save K-Mistele/9f90d91376d85874f3a19375ea8a3f85 to your computer and use it in GitHub Desktop.
Dom-based XSS
const username = document.getElementById('username_input');
const username_box = document.getElementById('username_box');
user_name_box.innerHTML = username;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment