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

Fix potential xss attack #730

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

Conversation

jwcooper
Copy link

@jwcooper jwcooper commented Jul 30, 2020

Working example:
https://jsfiddle.net/876myrk5/

$('[data-toggle="switch"]').bootstrapSwitch({onText: ">'><details open ontoggle=confirm(document.domain)>"});

If any sites allow switches based on user submitted configuration, they could be open to this issue.

@ggkitsas
Copy link

Hi, is this fix something you consider releasing soon?

@atodorov
Copy link

atodorov commented Dec 1, 2020

@LostCrew are you open to adding co-maintainers on this repository? Myself (and possibly @asankov) would be interested b/c we depend on this.

@LostCrew
Copy link
Member

LostCrew commented Jan 3, 2021

@atodorov @asankov Where can I reach you to chat privately?

@atodorov
Copy link

atodorov commented Jan 3, 2021

@LostCrew both of our email addresses are visible in our profiles.

@austinmhyatt
Copy link

Is there anyone still working on this fix?
thanks

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

6 participants