Skip to content

Conversation

@sestinj
Copy link
Contributor

@sestinj sestinj commented Jan 10, 2026

snyk-top-banner

Snyk has created this PR to fix 3 vulnerabilities in the npm dependencies of this project.

Snyk changed the following file(s):

  • gui/package.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Cross-site Scripting (XSS)
SNYK-JS-REMIXRUNROUTER-14908530
  646  
high severity Open Redirect
SNYK-JS-REACTROUTER-14908286
  641  
high severity Open Redirect
SNYK-JS-REMIXRUNROUTER-14908287
  641  

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Open Redirect
🦉 Cross-site Scripting (XSS)


Continue Tasks

Status Task Actions
▶️ Queued Create GitHub Issue (OS) View

Powered by Continue


Summary by cubic

Upgrade react-router-dom to 7.0.0 to fix high-severity XSS and open redirect vulnerabilities. Improves routing security and URL handling.

  • Dependencies

    • react-router-dom: ^6.14.2 → ^7.0.0
  • Migration

    • Verify routes, redirects, and navigation in the app/tests.
    • Update any deprecated v6 APIs if used (e.g., unstable/future flags, data loaders/actions).

Written for commit beda9ce. Summary will update on new commits.

@sestinj sestinj requested a review from a team as a code owner January 10, 2026 09:01
@sestinj sestinj requested review from Patrick-Erichsen and removed request for a team January 10, 2026 09:01
@continue
Copy link
Contributor

continue bot commented Jan 10, 2026

All Green - Keep your PRs mergeable

Learn more

All Green is an AI agent that automatically:

✅ Addresses code review comments

✅ Fixes failing CI checks

✅ Resolves merge conflicts


Unsubscribe from All Green comments

1 similar comment
@continue-staging
Copy link

All Green - Keep your PRs mergeable

Learn more

All Green is an AI agent that automatically:

✅ Addresses code review comments

✅ Fixes failing CI checks

✅ Resolves merge conflicts


Unsubscribe from All Green comments

@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jan 10, 2026
@github-actions
Copy link

⚠️ PR Title Format

Your PR title doesn't follow the conventional commit format, but this won't block your PR from being merged. We recommend using this format for better project organization.

Expected Format:

<type>[optional scope]: <description>

Examples:

  • feat: add changelog generation support
  • fix: resolve login redirect issue
  • docs: update README with new instructions
  • chore: update dependencies

Valid Types:

feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert

This helps with:

  • 📝 Automatic changelog generation
  • 🚀 Automated semantic versioning
  • 📊 Better project history tracking

This is a non-blocking warning - your PR can still be merged without fixing this.

@github-actions
Copy link

github-actions bot commented Jan 10, 2026

✅ Review Complete

Code Review Summary

⚠️ AI review failed. Please check the Continue API key and configuration.

Troubleshooting

  • Verify the CONTINUE_API_KEY secret is set correctly
  • Check that the organization and config path are valid
  • Ensure the Continue service is accessible

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

1 issue found across 1 file

Prompt for AI agents (all issues)

Check if these issues are valid — if so, understand the root cause of each and fix them.


<file name="gui/package.json">

<violation number="1" location="gui/package.json:64">
P0: Incomplete React Router v7 migration. This upgrade requires changing all imports from 'react-router-dom' to 'react-router' across 22+ files, but only the package version was updated. The application will likely fail at runtime.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

"react-redux": "^8.0.5",
"react-remark": "^2.1.0",
"react-router-dom": "^6.14.2",
"react-router-dom": "^7.0.0",
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot Jan 10, 2026

Choose a reason for hiding this comment

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

P0: Incomplete React Router v7 migration. This upgrade requires changing all imports from 'react-router-dom' to 'react-router' across 22+ files, but only the package version was updated. The application will likely fail at runtime.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At gui/package.json, line 64:

<comment>Incomplete React Router v7 migration. This upgrade requires changing all imports from 'react-router-dom' to 'react-router' across 22+ files, but only the package version was updated. The application will likely fail at runtime.</comment>

<file context>
@@ -61,7 +61,7 @@
     "react-redux": "^8.0.5",
     "react-remark": "^2.1.0",
-    "react-router-dom": "^6.14.2",
+    "react-router-dom": "^7.0.0",
     "react-switch": "^7.0.0",
     "react-syntax-highlighter": "^15.5.0",
</file context>
Fix with Cubic

@RomneyDa
Copy link
Collaborator

Failed to update package lock. Consolidating onto new PR

@RomneyDa RomneyDa closed this Jan 13, 2026
@github-project-automation github-project-automation bot moved this from Todo to Done in Issues and PRs Jan 13, 2026
@github-actions github-actions bot locked and limited conversation to collaborators Jan 13, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants