Alert: React Router's November 18 security release and older Lovable apps
Reported November 18, 2026 · Updated November 25, 2026 · By Arif Khan, AIVolve LLC
What happened: On November 18, 2026, the maintainers of React Router, the library that decides which screen to show for each web address, published seven GitHub security advisories: four rated High and three Moderate. Fixes are in react-router 7.18.3 to 7.18.6 and 8.3.1 to 8.5.1. For two of the issues, a route-matching denial of service and an open redirect, there is no fix for React Router 6, so apps on version 6 have to move to version 7 or 8. The advisories and Netlify's same-day notice do not report attacks in the wild. Lovable's older apps are built on React Router, so this page explains whether yours is affected. In short: an older Lovable app is exposed to at most one of the seven, it is not a data-theft issue, and it is worth a scheduled fix rather than a panic.
Who is affected
- Older Lovable apps built on the React + Vite stack. Lovable's blog lists the previous stack as "Vite + React Router", and Lovable's docs say these apps use React Router with
BrowserRouter. TanStack Start became Lovable's default for new projects on May 13, 2026. - Newer Lovable apps (TanStack Start) use TanStack Router, which is not named in these advisories. Check your package list anyway, because anything you or an AI assistant added could include React Router.
- Exported or self-hosted apps that use React Router directly or through a framework. Netlify names Remix 2 (which uses React Router 6) and Shopify Hydrogen (React Router 7) as examples.
- Not affected: apps that do not use React Router.
Which of the seven apply depends on how React Router is used. In a plain BrowserRouter app, the maintainers' advisories list only one issue as applying: GHSA-x8j4-g9rr-8j87, a High-severity route-matching problem where specially crafted addresses can use excessive CPU, "in the browser or on the server, depending on where route matching runs." In an older Lovable app, route matching runs in the visitor's browser, so the likely effect is a slow or frozen tab for someone who opens a crafted link to your site. The other six need server rendering, React Router's data or framework modes, or both. The open redirect (GHSA-7m2v-44vx-v55w) also needs your code to send people to an address taken from user input, such as a ?returnTo= setting after login.
| Advisory | Severity | Applies to | Fixed in |
|---|---|---|---|
| GHSA-x8j4-g9rr-8j87, route-matching denial of service | High | Declarative (BrowserRouter), Data and Framework modes. react-router 6.0.0 up to 7.18.2 and 8.0.0 up to 8.3.0 |
7.18.3, 8.3.1 (no 6.x fix) |
| GHSA-7m2v-44vx-v55w, open redirect | Moderate | Data and Framework modes, when the app redirects to an address from user input. 6.4.0 up to 7.18.2 and 8.0.0 up to 8.3.0 | 7.18.3, 8.3.1 (no 6.x fix) |
| GHSA-2rq8-3rm6-2w8f, server route discovery denial of service | High | Framework mode with server rendering. 7.0.0 up to 7.18.4 and 8.0.0 up to 8.5.0 | 7.18.5, 8.5.1 |
| GHSA-qhgm-jj2j-75wj, prototype pollution | High | Framework mode. 7.0.0 up to 7.18.4 and 8.0.0 up to 8.5.0 | 7.18.5, 8.5.1 |
| GHSA-mp5r-736v-j8x9, Node.js request handling denial of service | High | @react-router/node and @react-router/serve servers |
7.18.6, 8.3.1 |
| GHSA-8wpx-2pj4-ggvx, CSRF bypass in server actions | Moderate | Framework mode. 7.12.0 up to 7.18.2 and 8.0.0 up to 8.3.0 | 7.18.3, 8.3.1 |
| GHSA-mjj8-rxh9-q8f5, cross-site scripting in RSC redirects | Moderate | Unstable React Server Components modes only | 7.18.4, 8.4.0 |
What to do now (5 steps)
- Find out which stack your app is on. In the Lovable chat, ask: "What stack is this project on?" (Lovable's docs suggest this). Then open More → Security → Dependencies and look for
react-routerorreact-router-domand its version. Lovable's docs say only Critical vulnerabilities become findings, and High and Medium ones appear only in that list, so you will not see a warning on the Findings page for this. If your code is on GitHub, runnpm ls react-router react-router-domin the project folder. - If the version starts with 6 (for example
react-router-dom6.30.x), plan the move to version 7. There is no patched 6.x release. React Router's own upgrade guide says version 7 needs Node 20 and React 18 or newer, and that the upgrade has no breaking changes once you have turned on all the version 6 "future flags", one commit at a time. Do not runnpm install react-router@latestfor this: it now installs version 8, which needs Node 22.22 or newer and React 19.2.7 or newer. Stay on version 7 withnpm install react-router-dom@^7.18.6. In Lovable you can ask the assistant to do this, but test before you publish: sign in, sign out, deep links, and any page with a nested route. - If the version starts with 7, update to a patched release:
react-router7.18.5 or newer, and@react-router/nodeand@react-router/serve7.18.6 or newer if you use them. Then commit the lockfile as well aspackage.json. - If your app redirects to an address from the URL or a form (for example after login), check that the address stays on your own site before redirecting. Netlify's guidance says updating fixes React Router's own navigation, but your code should also check redirect destinations.
- Publish the change, then look at the Dependencies page again. If you host the code yourself, older deploys keep running the code they were built with. Netlify notes that public deploy previews and older production deploys can stay vulnerable until they are deleted.
This is a denial-of-service and redirect story, not a leaked-database story. If you have not touched your app's Supabase rules, a more important check for most Lovable apps is whether your tables are open. For a broader review of what else looks finished but is not, see Is my Lovable app secure? The 15-minute check before real users and Supabase Security Advisor warnings: which to fix first.
Sources: React Router security advisories (Nov 18) · GHSA-x8j4-g9rr-8j87 · GHSA-7m2v-44vx-v55w · Netlify changelog, Nov 18 · React Router: upgrading from v6 · Lovable docs: project security view · Lovable docs: upgrade to TanStack Start · Lovable blog: building apps using TanStack Start · npm registry: react-router (checked Nov 25)
Need help?
Start with a free X-ray: 2 minutes, no code or passwords. Your AI builder writes a read-only report that includes security red flags, and an AIVolve developer reviews every X-ray within 1 business day.
Get a free X-ray →