Skip to content

[Snyk] Security upgrade react-router-dom from 6.22.3 to 6.30.3 - #17

Open
RemyLoveLogicAI wants to merge 1 commit into
mainfrom
snyk-fix-66de700bfa1a553411b3182c8a03dbdf
Open

[Snyk] Security upgrade react-router-dom from 6.22.3 to 6.30.3#17
RemyLoveLogicAI wants to merge 1 commit into
mainfrom
snyk-fix-66de700bfa1a553411b3182c8a03dbdf

Conversation

@RemyLoveLogicAI

@RemyLoveLogicAI RemyLoveLogicAI commented Jan 13, 2026

Copy link
Copy Markdown
Owner

User description

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):

  • skyvern-frontend/package.json
  • skyvern-frontend/package-lock.json

Vulnerabilities that will be fixed with an upgrade:

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

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)


Summary by cubic

Upgrade react-router-dom to 6.30.3 to patch high-severity XSS and open-redirect vulnerabilities reported by Snyk. This improves frontend routing security with no app code changes.

  • Dependencies
    • skyvern-frontend/package.json: react-router-dom ^6.30.3
    • package-lock: pulls react-router 6.30.3 and @remix-run/router 1.23.2
    • Please smoke test navigation, redirects, and links.

Written for commit 60a667e. Summary will update on new commits.


CodeAnt-AI Description

Upgrade client-side routing packages to remove security vulnerabilities

What Changed

  • Updated react-router-dom (and its underlying react-router and @remix-run/router) to 6.30.3 / compatible router versions so the frontend no longer uses versions with known XSS and open-redirect vulnerabilities
  • Updated package-lock to lock the upgraded router packages for installs and deployments

Impact

✅ Fewer XSS vulnerabilities
✅ Fewer open redirect vulnerabilities
✅ Safer client-side navigation

💡 Usage Guide

Checking Your Pull Request

Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.

Talking to CodeAnt AI

Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:

@codeant-ai ask: Your question here

This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.

Example

@codeant-ai ask: Can you suggest a safer alternative to storing this secret?

Preserve Org Learnings with CodeAnt

You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:

@codeant-ai: Your feedback here

This helps CodeAnt AI learn and adapt to your team's coding style and standards.

Example

@codeant-ai: Do not flag unused imports.

Retrigger review

Ask CodeAnt AI to review the PR again, by typing:

@codeant-ai: review

Check Your Repository Health

To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.

@codeant-ai

codeant-ai Bot commented Jan 13, 2026

Copy link
Copy Markdown

CodeAnt AI is reviewing your PR.


Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

@safedep

safedep Bot commented Jan 13, 2026

Copy link
Copy Markdown

SafeDep Report Summary

Green Malicious Packages Badge Green Vulnerable Packages Badge Green Risky License Badge

Package Details
Package Malware Vulnerability Risky License Report
icon @remix-run/router @ 1.23.2
skyvern-frontend/package-lock.json
ok icon
ok icon
ok icon
🔗
icon react-router @ 6.30.3
skyvern-frontend/package-lock.json
ok icon
ok icon
ok icon
🔗
icon react-router-dom @ 6.30.3
skyvern-frontend/package-lock.json
ok icon
ok icon
ok icon
🔗

This report is generated by SafeDep Github App

@coderabbitai

coderabbitai Bot commented Jan 13, 2026

Copy link
Copy Markdown

Important

Review skipped

Ignore keyword(s) in the title.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@gemini-code-assist

Copy link
Copy Markdown

Summary of Changes

Hello @RemyLoveLogicAI, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request focuses on enhancing the application's security by performing a critical dependency upgrade. It updates the react-router-dom package to its latest secure version, effectively mitigating known high-severity Cross-site Scripting and Open Redirect vulnerabilities that could compromise user data and application integrity.

Highlights

  • Security Upgrade: Upgraded the react-router-dom package from version 6.22.3 to 6.30.3 to address multiple high-severity security vulnerabilities.
  • Vulnerability Fixes: This upgrade fixes three high-severity vulnerabilities: one Cross-site Scripting (XSS) issue (SNYK-JS-REMIXRUNROUTER-14908530) and two Open Redirect issues (SNYK-JS-REACTROUTER-14908286, SNYK-JS-REMIXRUNROUTER-14908287).
  • Dependency Updates: The upgrade also includes updates to related internal dependencies, specifically @remix-run/router from 1.15.3 to 1.23.2 and react-router from 6.22.3 to 6.30.3.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@bito-code-review

Copy link
Copy Markdown

Bito Automatic Review Skipped - Files Excluded

Bito didn't auto-review because all changed files are in the exclusion list. You can change the excluded files settings here, or contact the agent instance creator at jmjones925@gmail.com.

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​react-router-dom@​6.22.3 ⏵ 6.30.397 +110075 +198100

View full report

@codeant-ai codeant-ai Bot added the size:S This PR changes 10-29 lines, ignoring generated files label Jan 13, 2026
@codeant-ai

codeant-ai Bot commented Jan 13, 2026

Copy link
Copy Markdown

Sequence Diagram

This PR (from Snyk) updates package.json and package-lock to bump react-router-dom and its router deps, resolving reported XSS/open-redirect vulnerabilities by pulling patched versions from the npm registry and running the project CI checks.

sequenceDiagram
    participant Snyk
    participant Repo
    participant npmRegistry as "npm Registry"
    participant CI

    Snyk->>Repo: Create PR updating package.json & package-lock (react-router-dom -> 6.30.3)
    Repo->>npmRegistry: Request updated packages (react-router-dom, react-router, @remix-run/router)
    npmRegistry-->>Repo: Return patched package versions (6.30.3 / 6.30.3 / 1.23.2)
    Repo->>CI: Run install & tests with updated deps
    CI-->>Repo: Tests pass (vulnerabilities fixed in dependency tree)
Loading

Generated by CodeAnt AI

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request, automatically generated by Snyk, upgrades react-router-dom from version 6.22.3 to 6.30.3. This is a crucial security update that resolves three high-severity vulnerabilities, including Cross-site Scripting (XSS) and Open Redirect issues. The upgrade is a minor version bump within the same major version (v6), so no breaking changes are expected. The changes in package.json and package-lock.json are correct and consistent, updating react-router-dom and its transitive dependencies. This is a necessary and safe update that improves the security of the application. I recommend merging it.

@codeant-ai

codeant-ai Bot commented Jan 13, 2026

Copy link
Copy Markdown

CodeAnt AI finished reviewing your PR.

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

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

No issues found across 2 files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S This PR changes 10-29 lines, ignoring generated files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants