Created
March 30, 2018 12:30
-
-
Save uploadcare-user/e3bbeb400140af113c62fc546142e2fb to your computer and use it in GitHub Desktop.
Snippet, indicates how an intruder can inject malicious code into HTTP referer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
analytics.identify( | |
'<%= user.id %>', | |
'<%= request.HTTP_REFERER %>', | |
... | |
); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment