For your digest
react-router, @remix-run/router: React Router's same-origin redirect with path starting // causes open redirect via protocol-relative URL r…
It touches something Phylax follows. No evidence of use yet.
Does it affect what I run?
Checked in your browser. The version you type is not sent anywhere.
Who is affected
- react-router (npm): from 7.0.0, before 7.14.1
- react-router (npm): from 6.7.0, before 6.30.4
- @remix-run/router (npm): from 1.3.0, before 1.23.3
The fix
react-router (npm) fixed in 7.14.1
npmnpm install react-router@7.14.1pnpmpnpm add react-router@7.14.1yarnyarn add react-router@7.14.1bunbun add react-router@7.14.1Check what is installednpm ls react-routerPaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency react-router to 7.14.1 or the nearest later release, to fix CVE-2026-40181. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.react-router (npm) fixed in 6.30.4
npmnpm install react-router@6.30.4pnpmpnpm add react-router@6.30.4yarnyarn add react-router@6.30.4bunbun add react-router@6.30.4Check what is installednpm ls react-routerPaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency react-router to 6.30.4 or the nearest later release, to fix CVE-2026-40181. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.@remix-run/router (npm) fixed in 1.23.3
npmnpm install "@remix-run/router@1.23.3"pnpmpnpm add "@remix-run/router@1.23.3"yarnyarn add "@remix-run/router@1.23.3"bunbun add "@remix-run/router@1.23.3"Check what is installednpm ls @remix-run/routerPaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency @remix-run/router to 1.23.3 or the nearest later release, to fix CVE-2026-40181. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
Fix commands generated from the advisory's versions. No model wrote them.
In plain words
Brief pending: here are the facts and the fix. The explanation in plain words follows when it has been written and checked.
Evidence
No evidence that it is being used, or can be. It is listed because of what it affects.
Timeline
- First published here, as "For your digest".