-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Prevent XSS on checkout #18487
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
Prevent XSS on checkout #18487
Conversation
|
Hi @samgranger , please, sign CLA, otherwise, we can't process your pull request |
|
CLA signed! |
|
Hi @sidolov, thank you for the review. |
|
@samgranger thank you for contributing. Please accept Community Contributors team invitation here to gain extended permissions for this repository. |
|
I'm not sure if I already have the permissions you mentioned, I don't see any pending invitations when visiting the given link. |
|
Hi @samgranger. Thank you for your contribution. |
Description
The State/Province field (when selecting a country like The Netherlands) gives the user an input field (in checkout/account address). When filling <script>alert('hello world')</script>, the user will experience self xss in the next step of the checkout.
Fixed Issues (if relevant)
Bugcrowd reference cd8d0c3b57686f09cde51c4afaa2f0e70e51f9093121fb7140e3b7f26a89b7fd (which got marked as "won't fix")
Manual testing scenarios
See description/ (bugcrowd for video)
Contribution checklist