Description
A XSS vulnerability exists in in React Router’s <ScrollRestoration> API in Framework Mode when using the getKey/storageKey props during Server-Side Rendering which could allow arbitrary JavaScript execution during SSR if untrusted content is used to generate the keys.
Recommendation
Update the @remix-run/react package to the latest compatible version. Followings are version details:
- Affected version(s): < 2.17.3
- Patched version(s): 2.17.3
References
Related Issues
- svelte vulnerable to Cross-site Scripting - CVE-2025-15265
- Angular vulnerable to Cross-site Scripting - CVE-2020-7676
- angular Prototype Pollution vulnerability - CVE-2019-10768
- rollbar vulnerable to prototype pollution - CVE-2025-57325
- Tags:
- npm
- @remix-run/react
Anything's wrong? Let us know Last updated on January 11, 2026