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

Information disclosure vulnerability in AutocompleteWidget #1571

Closed
nextghost opened this issue Feb 12, 2017 · 0 comments
Closed

Information disclosure vulnerability in AutocompleteWidget #1571

nextghost opened this issue Feb 12, 2017 · 0 comments

Comments

@nextghost
Copy link
Contributor

Executing AutocompleteWidget.callback() from AutocompleteWidget constructor is a bad idea. When you instantiate the factory class in a model file, the callback will become exposed from every page in your application. The callback should be executed from AutocompleteWidget.__call__() so that it'll be subject to the same access control restrictions as its parent form.

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