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

ZEN-31099: sanitize html before inserting it #130

Merged
merged 2 commits into from Jan 30, 2019
Merged

ZEN-31099: sanitize html before inserting it #130

merged 2 commits into from Jan 30, 2019

Conversation

rderkach
Copy link
Contributor

@rderkach rderkach commented Dec 12, 2018

According to owasp there are some vulnerabilities if we insert raw html
without sanitizing it.
Create a blacklist of tags that are forbidden to use and whitelist
of attributes that can be used and then filter the html code.

Related PR zenoss/zenoss-prodbin#3498

JIRA&DEMO

According to owasp there are some vulnerabilities if we insert raw html
without sanitizing it.
Create a blacklist of tags that are forbidden to use and whitelist
of attributes that can be used and then filter the html code.
@csmouse csmouse merged commit 16e061a into develop Jan 30, 2019
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

3 participants