[Security] Upgrade React Router past RSC CSRF advisory #269

Open
opened 2026-07-28 01:36:32 +02:00 by zemion · 0 comments
Owner

Problem

npm audit reports GHSA-qwww-vcr4-c8h2 against the installed React Router 7 release. The available automated remediation crosses into React Router 8, so it requires an intentional compatibility migration rather than npm audit fix --force. GovOPlaN currently uses client-side routing rather than React Server Components, which likely narrows immediate exposure, but the vulnerable production dependency must remain visible and be removed.

The PostCSS GHSA-r28c-9q8g-f849 advisory found in the same audit was fixed immediately by updating the lockfile to PostCSS 8.5.23 and Nano ID 3.3.16.

Acceptance Criteria

  • Confirm and document whether any deployed GovOPlaN route uses React Router RSC/action handling affected by the advisory.
  • Upgrade react-router/react-router-dom to a non-vulnerable release (currently indicated by npm as 8.3.0+) without forcing an unreviewed major update.
  • Update module peer ranges consistently across WebUI packages.
  • Run core typecheck/build, route tests, and all module permutations.
  • npm audit no longer reports GHSA-qwww-vcr4-c8h2.

Reference

## Problem `npm audit` reports GHSA-qwww-vcr4-c8h2 against the installed React Router 7 release. The available automated remediation crosses into React Router 8, so it requires an intentional compatibility migration rather than `npm audit fix --force`. GovOPlaN currently uses client-side routing rather than React Server Components, which likely narrows immediate exposure, but the vulnerable production dependency must remain visible and be removed. The PostCSS GHSA-r28c-9q8g-f849 advisory found in the same audit was fixed immediately by updating the lockfile to PostCSS 8.5.23 and Nano ID 3.3.16. ## Acceptance Criteria - [ ] Confirm and document whether any deployed GovOPlaN route uses React Router RSC/action handling affected by the advisory. - [ ] Upgrade `react-router`/`react-router-dom` to a non-vulnerable release (currently indicated by npm as 8.3.0+) without forcing an unreviewed major update. - [ ] Update module peer ranges consistently across WebUI packages. - [ ] Run core typecheck/build, route tests, and all module permutations. - [ ] `npm audit` no longer reports GHSA-qwww-vcr4-c8h2. ## Reference - https://github.com/advisories/GHSA-qwww-vcr4-c8h2
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: GovOPlaN/govoplan-core#269
No description provided.