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

WidgetMixin : take the right id in the right place for field forwarding + XSS exploit fix #1354

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

elapouya
Copy link

@elapouya elapouya commented Feb 26, 2024

Actually, for field forwarding, there is a mismatch between the div id given at python side and the id at javascript side. At python side the widget id is not read at the right place.

In the PR there is a very quick fix for that.

There is also a XSS exploit possible in select2.js when displaying selected item : it requires to be escaped.

@elapouya elapouya changed the title WidgetMixin : take the right id in the right place for field forwarding WidgetMixin : take the right id in the right place for field forwarding + XSS exploit fix Feb 26, 2024
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

1 participant