Hahn-Solo Product Management
  • Dashboard
  • Technologies
  • Competitors
  • Tasks
Theme
Basic Information
Status
Open
Priority
Now
Category
Security
Repo
JSS PM
Effort
Trivial
Task ID
T-E5243AFF
Details
Tighten React Peer Dependency Floor
Update `peerDependencies` in `packages/sitecore-jss-react/package.json`, `packages/sitecore-jss-nextjs/package.json`, and `packages/sitecore-jss/package.json` to require `react: ">=19.2.4"` (and `react-dom: ">=19.2.4"` where applicable). The current floor of `^19.1.0` permits installation of React versions vulnerable to CVE-2026-23864 (DoS, CVSS 7.5).
Why
CVE-2026-23864 (DoS via RSC memory exhaustion) affects React 19.0.x-19.2.3. JSS's current peer floor `^19.1.0` allows vulnerable versions. Developers using JSS 22.12 with React 19.1.0 are exposed to unauthenticated DoS.
Evidence
React research report; CVE-2026-23864; Next.js research report
Details
Context: JSS 22.12 ships with a React peer dependency of `^19.1.0`, which resolves to any React version from 19.1.0 upward. CVE-2026-23864 (CVSS 7.5, DoS via memory exhaustion in Server Components) was patched in React 19.2.4. Developers installing JSS 22.12 today could resolve to React 19.1.x or 19.2.0-19.2.3, all of which are vulnerable to unauthenticated denial-of-service attacks. Since JSS Next.js apps use Server Components, this is a direct exposure path.

Steps:
1. Open `packages/sitecore-jss/package.json` — change `"@sitecore-cloudsdk/events": "^0.5.2"` peer dependency is fine, but verify no React peer here. If React is referenced, update floor.
2. Open `packages/sitecore-jss-react/package.json` — change `"react": "^19.1.0"` to `"react": ">=19.2.4"` and `"react-dom": "^19.1.0"` to `"react-dom": ">=19.2.4"`.
3. Open `packages/sitecore-jss-nextjs/package.json` — change `"react": "^19.1.0"` to `"react": ">=19.2.4"` and `"react-dom": "^19.1.0"` to `"react-dom": ">=19.2.4"`.
4. Run `yarn install` to verify no peer conflicts within the monorepo.
5. Run `yarn test-packages` to confirm all tests pass.
6. Update CHANGELOG with the security rationale.

Acceptance criteria:
React peer dependency floor is `>=19.2.4` in all published packages that declare a React peer
`yarn install` succeeds without peer conflicts
CI passes
CHANGELOG entry references CVE-2026-23864

Risks: Teams pinned to React 19.1.x or 19.2.0-19.2.3 will receive a peer dependency warning on next install. This is intentional — they must upgrade to a patched React version.
Source Report
reports/product-management/jss/2026-04-05-jss-pm.md
Report date: Apr 5, 2026