Skip to content

Conversation

@hannoeru
Copy link
Owner

snyk-top-banner

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

Snyk changed the following file(s):

  • examples/react/package.json
⚠️ Warning
Failed to update the pnpm-lock.yaml, please update manually before merging.

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Cross-site Scripting (XSS)
SNYK-JS-REACTROUTER-14908531
  646  
medium severity Cross-site Request Forgery (CSRF)
SNYK-JS-REACTROUTER-14908429
  631  
medium severity Cross-site Scripting (XSS)
SNYK-JS-REACTROUTER-14908293
  601  

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:

🦉 Cross-site Scripting (XSS)

Copilot AI review requested due to automatic review settings January 20, 2026 05:11
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR upgrades react-router-dom from version 7.10.0 to 7.12.0 in the React example to fix three security vulnerabilities: one high-severity XSS vulnerability (score 646) and two medium-severity vulnerabilities (CSRF with score 631 and XSS with score 601).

Changes:

  • Upgraded react-router-dom dependency from ^7.10.0 to ^7.12.0 in the React example

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

"react": "^19.1.0",
"react-dom": "^19.2.0",
"react-router-dom": "^7.10.0"
"react-router-dom": "^7.12.0"
Copy link

Copilot AI Jan 20, 2026

Choose a reason for hiding this comment

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

The @types/react-router-dom package version at line 19 is ^5.3.3, which is significantly older than the react-router-dom runtime version being upgraded to 7.12.0. This version mismatch may cause TypeScript type errors or incorrect type definitions. Consider upgrading @types/react-router-dom to a version compatible with react-router-dom 7.x, or verify if types are now included in the main package.

Copilot uses AI. Check for mistakes.
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.

3 participants