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

Frontend does not filter user input #378

Open
nlsvgtr opened this issue Dec 12, 2022 · 0 comments
Open

Frontend does not filter user input #378

nlsvgtr opened this issue Dec 12, 2022 · 0 comments

Comments

@nlsvgtr
Copy link
Contributor

nlsvgtr commented Dec 12, 2022

When a user enters data the input is not filtered. It is possible, for example, to enter "><img src="x:x" onerror="alert('LBVD')"> in the user account First Name field.

This is not a big issue because the backend does filter the data, and the text above is not added to the database. It does however leave a theoretical possibility for reflected cross-site scripting.

Possible Solution
Filter the data that a user enters

Steps to Reproduce

  1. Login to a Plannen site
  2. Goto My Account
  3. Enter "><img src="x:x" onerror="alert('LBVD')"> as your first name
  4. Click Opslaan
  5. Reload the page and see an alert.
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

No branches or pull requests

1 participant