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

XSS Mitigation #49

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nicolasschwab
Copy link

When modifying the organization info a user can detail a description, in this input any special character can be introduced even javascripts tags. This could lead to an XSS vulnerability. We've added a sanitization in order to prevent the browser interprets these tags.
We also suggest checking this kind of vulnerability in the rest of the code, the best solution would be to use a template engine such as Twig.

When modifing the organization info a user can detail a description,
in this input any special character can be introduced even javascripts
tags. I've added a sanitization in order to prevent the browser interprets
these tags.
nutteen pushed a commit to GroupLeasePCL/sentrifugo that referenced this pull request Jul 9, 2018
…lidays-error

Employee timesheet holidays error
nutteen pushed a commit to GroupLeasePCL/sentrifugo that referenced this pull request Jul 9, 2018
…lidays-error

Employee timesheet holidays error
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.

1 participant