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

XSS Vulnerability #151

Closed
Lc5 opened this issue Sep 24, 2013 · 2 comments
Closed

XSS Vulnerability #151

Lc5 opened this issue Sep 24, 2013 · 2 comments

Comments

@Lc5
Copy link

Lc5 commented Sep 24, 2013

Try out dropkick on following HTML:

<select class="dk">
    <option value="1">&lt;script&gt;alert('test')&lt;/script&gt;<option>
</select>

Actual: javascript is executed

Expected: option text "<script>alert('test')</script>" is displayed

Javascript is never exectued if you use regular select.

Robdel12 pushed a commit that referenced this issue Sep 24, 2013
@Robdel12
Copy link
Owner

Thank you for the heads up! I've pushed changes :)

@Lc5
Copy link
Author

Lc5 commented Sep 24, 2013

Thank you for quick fix :)

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

No branches or pull requests

2 participants