Certain URLs passed to the redirect function can trigger an open redirect to an external domain depending on the level of validation done by the application prior to returning the redirect.
[!NOTE] This does not impact your React Router application if you are using Declarative Mode (
<BrowserRouter>)
{
"github_reviewed": true,
"github_reviewed_at": "2026-06-03T20:58:01Z",
"severity": "MODERATE",
"nvd_published_at": "2026-06-02T20:16:35Z",
"cwe_ids": [
"CWE-601"
]
}