Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

[issue-883] Bump react-router-dom 7.5.2 → 7.16.0 (clears HIGH advisory)

Adam Eivy7c3a1ccffad7
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.md
index 045ed082d4..3203d31749 100644
--- a/.changelog/NEXT.md
+++ b/.changelog/NEXT.md
@@ -105,6 +105,7 @@
## Fixed
+- **[issue-883] Cleared a HIGH react-router security advisory** — bumped `react-router-dom` 7.5.2 → 7.16.0, which resolves a HIGH-severity advisory class affecting react-router 7.0.0–7.14.2 (CSRF, several XSS / open-redirect vectors, and a vendored `turbo-stream` deserialization RCE). PortOS only uses the declarative router API, so most of these never applied, but the dependency is now off the flagged range. No behavior change.
- **[issue-705] CyberCity no longer crashes when a sync peer's link is on screen** — the federation-horizon sync link called `computeLineDistances()` on a geometry object, but that method lives on the line itself; the bad call threw and crashed the whole CyberCity canvas for anyone with a sync peer configured (the link always renders for each peer). It's now computed on the line, only for the dashed "connection dropped" state that needs it.
- **[issue-705] CyberCity light connectors hardened against a 3D-stack mismatch** — the memory district's category bridges and the goal-tree links previously rendered through a line primitive that depended on a fat-line geometry method (`computeLineDistances`) missing from this build's 3D stack. Those connectors now draw as native glowing tubes — no dependency on that method — so they can't reintroduce the crash, with a bit more presence to the links as a bonus.
- **Security settings reachable from the sidebar** — the Settings → Security tab now has its own entry in the sidebar's Settings group, so you can open it without typing the URL or going through ⌘K. The tab, its route, and command-palette/voice navigation already existed; only the sidebar link was missing.
diff --git a/client/package.json b/client/package.json
index 6754f3e049..79049e5ffb 100644
--- a/client/package.json
+++ b/client/package.json
@@ -24,7 +24,7 @@
"lucide-react": "0.562.0",
"react": "19.2.7",
"react-dom": "19.2.7",
- "react-router-dom": "7.5.2",
+ "react-router-dom": "7.16.0",
"recharts": "3.7.0",
"socket.io-client": "4.8.3",
"three": "0.184.0"