VDB
Sign up
MEDIUM6.9

GHSA-jjmj-jmhj-qwj2

React Router: Open redirect leading to XSS

Quick fix

GHSA-jjmj-jmhj-qwj2 — react-router-dom: upgrade to the fixed version with the command below.

npm install react-router-dom@6.30.6

Details

Applications with open redirects could permit attacker crafted links to result in redirects to unexpected external location or XSS vectors.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/react-router-dom
Introduced in: 6.30.2Fixed in: 6.30.6
Fixnpm install react-router-dom@6.30.6
npm/react-router
Introduced in: 7.9.6Fixed in: 7.13.0
Fixnpm install react-router@7.13.0

References