fix: XSS vulnerability in @remix-run/router via open redirects#1501
Merged
fix: XSS vulnerability in @remix-run/router via open redirects#1501
Conversation
✅ Deploy Preview for rsdoctor ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
There was a problem hiding this comment.
Copilot wasn't able to review any files in this pull request.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Copilot
AI
changed the title
[WIP] Fix security vulnerability in @remix-run/router
Fix XSS vulnerability in @remix-run/router via open redirects
Jan 19, 2026
0c5233d to
75286fd
Compare
Deploying rsdoctor with
|
| Latest commit: |
75286fd
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://777b9fd3.rsdoctor.pages.dev |
| Branch Preview URL: | https://copilot-fix-xss-vulnerabilit.rsdoctor.pages.dev |
yifancong
approved these changes
Jan 28, 2026
yifancong
approved these changes
Jan 28, 2026
…rsion Co-authored-by: yifancong <18437716+yifancong@users.noreply.github.com>
75286fd to
021396c
Compare
fi3ework
approved these changes
Jan 28, 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.
Addresses XSS vulnerability in
@remix-run/router≤1.23.1 caused by open redirects under certain scenarios.Changes
@remix-run/router@1.23.2(patched version)react-router-domfrom6.4.3to6.30.3inpackages/componentsandpackages/clientThe
react-router-domupgrade is required because versions ≤6.30.2 importinvariantfrom@remix-run/router, which was renamed toUNSAFE_invariantin 1.23.2. Version 6.30.3 is compatible with the patched router.Dependency resolution
All transitive dependencies now resolve to
@remix-run/router@1.23.2. Previously vulnerable versions (1.0.3, 1.20.0, 1.23.0) are removed from the lock file.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
nvd.nist.gov/home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
This pull request was created from Copilot chat.
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.