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

fix: potential XSS when tooltipLabel or strokeStyle are controlled by users #147

Merged
merged 1 commit into from May 16, 2022

Conversation

WofWca
Copy link
Collaborator

@WofWca WofWca commented May 15, 2022

This doesn't completely get rid of innerHTML usage, but at least
now the developer is responsible for tooltipFormatter not returning
dangerous HTML if they decide to override it.

…d by users

This doesn't completely get rid of `innerHTML` usage, but at least
now the developer is responsible for `tooltipFormatter` not returning
dangerous HTML if they decide to override it.
@WofWca WofWca merged commit 8e0920d into joewalnes:master May 16, 2022
@WofWca WofWca deleted the fix-potential-xss branch May 16, 2022 06:25
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

Successfully merging this pull request may close these issues.

None yet

2 participants