Lorem ipsum ...

Lorem ipsum ...

<script>
  var userInput = location.hash.substring(1);
  document.write('<h1>' + userInput + '</h1>');
</script>

<script>
  alert('Reflected XSS Attack!');
</script>

<script>
  alert('Stored XSS Attack!');
</script>

<script>
  var userInput = location.hash.substring(1);
  document.write('<h1>' + userInput + '</h1>');
</script>

<script>
  alert('Reflected XSS Attack!');
</script>

<script>
  alert('Stored XSS Attack!');
</script>

Fair Trade:

<script>
  var userInput = location.hash.substring(1);
  document.write('<h1>' + userInput + '</h1>');
</script>

<script>
  alert('Reflected XSS Attack!');
</script>

<script>
  alert('Stored XSS Attack!');
</script>