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

trustAsHtml used for title and message -XSS Attack #221

Open
tushartrantor opened this issue Mar 3, 2017 · 0 comments
Open

trustAsHtml used for title and message -XSS Attack #221

tushartrantor opened this issue Mar 3, 2017 · 0 comments

Comments

@tushartrantor
Copy link

tushartrantor commented Mar 3, 2017

trustAsHtml used for title and message is prone to XSS when allowHtml true. Only ng-bind-html should be enough to allow for whitelisted tags according to me.
How can I rectify this problem ?

@tushartrantor tushartrantor changed the title allowHtml option not working as trustedHtml trustAsHtml used for title and message -XSS Attack Mar 6, 2017
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

1 participant