Skip to content

fix: upgrade @remix-run/router to 1.23.2 (CVE-2026-22029) - #1025

Open
anupamme wants to merge 1 commit into
DavidHDev:mainfrom
anupamme:fix-repo-react-bits-cve-2026-22029-remix-run-router
Open

fix: upgrade @remix-run/router to 1.23.2 (CVE-2026-22029)#1025
anupamme wants to merge 1 commit into
DavidHDev:mainfrom
anupamme:fix-repo-react-bits-cve-2026-22029-remix-run-router

Conversation

@anupamme

@anupamme anupamme commented Aug 2, 2026

Copy link
Copy Markdown

Summary

Upgrade @remix-run/router from 1.23.0 to 1.23.2 to fix CVE-2026-22029.

Vulnerability

Field Value
ID CVE-2026-22029
Severity HIGH
Scanner trivy
Rule CVE-2026-22029
File package-lock.json (dependency: @remix-run/router)
Assessment Present in dependency tree, not confirmed reachable

Description: @remix-run/router: react-router: React Router vulnerable to XSS via Open Redirects

Evidence

Scanner confirmation: trivy rule CVE-2026-22029 flagged this pattern.

Changes

  • package.json
  • package-lock.json

Behavior Preservation

The change is scoped to 2 files on the vulnerable path; it only tightens handling of untrusted input and leaves valid inputs unaffected.


This change addresses a pattern flagged by static analysis. The code path handles user-influenced input and the fix reduces the attack surface against both manual and automated exploitation.


Automated security fix by OrbisAI Security

Automated dependency upgrade by OrbisAI Security

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Upgrades the transitive @remix-run/router dependency to address CVE-2026-22029 (XSS via open redirects) in the project’s React Router stack.

Changes:

  • Adds an npm overrides entry to force @remix-run/router to 1.23.2.
  • Updates package-lock.json so node_modules/@remix-run/router resolves to 1.23.2.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

File Description
package.json Adds npm overrides to pin @remix-run/router to 1.23.2.
package-lock.json Updates the resolved @remix-run/router package entry to 1.23.2.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread package.json
Comment on lines +77 to 79
"overrides": {
"@remix-run/router": "1.23.2"
}
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.

2 participants