Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random seed may result in valid attribute #3

Open
gbrindisi opened this issue Jul 24, 2012 · 2 comments
Open

Random seed may result in valid attribute #3

gbrindisi opened this issue Jul 24, 2012 · 2 comments
Labels

Comments

@gbrindisi
Copy link
Owner

The randoms generated seed for the taint may result as a valid html attribute like href, src, etc.

https://github.com/gbrindisi/xsssniper/blob/master/core/payload.py#L14

Must blacklist common attributes names.

@fgeek
Copy link
Contributor

fgeek commented Jun 3, 2015

Wouldn't it be better just to use long enough randoms so that it won't overlap with anything existing?

@gbrindisi
Copy link
Owner Author

Yes but since I've left the chance to set the seed length to the user, this problem could still occur.
If you have better ideas I'd like to hear them!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants