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

Protect against user injection for registration CLI page #823

Merged
merged 6 commits into from
Oct 4, 2022

Conversation

kradalby
Copy link
Collaborator

This commit addresses a potential issue where we allowed unsanitised content to be passed through a go template without validation.

We now try to unmarshall the incoming node key and fails to render the template if it is not a valid node key.

Signed-off-by: Kristoffer Dalby kristoffer@dalby.cc

This commit addresses a potential issue where we allowed unsanitised
content to be passed through a go template without validation.

We now try to unmarshall the incoming node key and fails to render the
template if it is not a valid node key.

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
kradalby and others added 5 commits September 23, 2022 10:44
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
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