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

Add support for Element.setHTMLUnsafe() #232

Closed
mozfreddyb opened this issue Nov 17, 2023 · 0 comments
Closed

Add support for Element.setHTMLUnsafe() #232

mozfreddyb opened this issue Nov 17, 2023 · 0 comments
Labels

Comments

@mozfreddyb
Copy link
Collaborator

When implemented, setHTMLUnsafe() can be used as another unsafe XSS sink, similar to assignments to innerHTML.

The linter should disallow it just as well.
The function implemented and not included in the linter rules constitutes an XSS risk.

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

1 participant