-
Notifications
You must be signed in to change notification settings - Fork 457
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
Potential DOM Based Cross Site Scripting in gmail.js #281
Comments
@KartikTalwar Can you please review this and provide your feedback? Also, if possible, can you please add security label to this bug? |
Any chance to see this addressed? |
It's been suggested to me that we could use Based on the extremely limited testing I've done with To facilitate more thorough testing, I can create a feature-branch where all use of If so, we can merge this back to master. Sounds like a plan? |
And consider it done! I've created some basic unit-tests for data-parsing on all functions where I've also created a new feature-branch called So I'm decently confident that this will be a non-breaking change, but I would appreciate it if you guys would be willing test it first, and report back if you have any issues or not before we merge to Ladies and gentlemen, the fate of this issue now lies in your hands. Make the most of it :) |
Fixed in a83436f. Closing. |
The gmail.js library dynamically creates functions out of response data and executes them, leading to potential DOM based XSS issues.
Instance 1:
Instance 2:
Instance 3:
@KartikTalwar
The text was updated successfully, but these errors were encountered: