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

feat: add option to disable safe html #195

Merged
merged 2 commits into from
May 11, 2021

Conversation

jurienhamaker
Copy link

Because all text is automatically marked as safe html, user input is now vulnerable to XSS attacks on other users. Therefore I added the option to disable the sanitization in the sanitize() function if needed

Please merge and deploy this asap as this is a huge security risk.

Personally I would opt for it to be disabled by default and enabled by the developer if needed, but that would require a major version.

@optimistex
Copy link
Owner

@jurienhamaker Sounds nice. Thanks for the maintenance. I'll be able to check it out next week.

@optimistex optimistex merged commit 43c850e into optimistex:master May 11, 2021
@optimistex
Copy link
Owner

@jurienhamaker Released https://github.com/optimistex/ngx-select-ex/releases/tag/v6.1.0

Thanks again for the maintain!

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.

2 participants