fix: Critical/High XSS and open redirect vulnerabilities (no data migration)#726
Draft
KrzysztofPajak with Copilot wants to merge 3 commits into
Draft
fix: Critical/High XSS and open redirect vulnerabilities (no data migration)#726KrzysztofPajak with Copilot wants to merge 3 commits into
KrzysztofPajak with Copilot wants to merge 3 commits into
Conversation
…e is off Co-authored-by: KrzysztofPajak <16772986+KrzysztofPajak@users.noreply.github.com>
Co-authored-by: KrzysztofPajak <16772986+KrzysztofPajak@users.noreply.github.com>
Copilot
AI
changed the title
Restore backward compatibility in store customer panel when per-store mode is disabled
Restore backward compatibility in Store Customer panel when per-store identity is disabled
Jul 5, 2026
Copilot created this pull request from a session on behalf of
KrzysztofPajak
July 5, 2026 12:04
View session
…ect) Co-authored-by: KrzysztofPajak <16772986+KrzysztofPajak@users.noreply.github.com>
Copilot
AI
changed the title
Restore backward compatibility in Store Customer panel when per-store identity is disabled
fix: Critical/High XSS and open redirect vulnerabilities (no data migration)
Jul 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
User-controlled fields were injected raw into Vue.js data initialization blocks, enabling stored XSS. Payment and download redirect URLs lacked protocol validation, enabling
javascript:/data:URI injection.XSS —
Html.Raw()in JavaScript context (7 views)Fields like
FirstName,Email,Address,Enquiryetc. were embedded in JS string literals without encoding:Affected views:
Account/Info,Account/Register,Account/Partials/EditSubAccount,Account/Partials/CreateSubAccount,Contact/Index,Shared/Partials/CreateOrUpdateAddress,MerchandiseReturn/MerchandiseReturn.Open Redirect — payment & download URLs (3 controllers)
PostRedirectPayment()and stored download URLs were redirected to without scheme validation. AddedUri.TryCreate+http/https-only guard — payment provider external URLs continue to work.Affected:
OrderController.RePostPayment,CheckoutController.CompleteRedirectionPayment,DownloadController.DownloadFile.No data migration required. No changes to
Grand.Web.Store.CustomerController.