seltzer
seltzer copied to clipboard
Persistent Cross-Site Scripting
If you set the first name (or any other field) of a user's record to include the application will alert 1 on any screen that username is shown. Likewise this can be used to redirect to another site and/or access cookies and other browser based activities. Output should be HTML encoded for any and all user supplied data.
Good catch!
I think the solution here is to implement a check_plain() function similar to drupal's and make sure it gets called on all user submitted data. I'll do this if I get time but could definitely use some help.