Vulnerability library
Security checkJanuary 11, 2026

React Router has XSS Vulnerability

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpm@remix-run/react

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

A XSS vulnerability exists in in React Router’s meta()/<Meta> APIs in Framework Mode when generating script:ld+json tags which could allow arbitrary JavaScript execution during SSR if untrusted content is used to generate the tag.

Recommendation

Update the @remix-run/react package to the latest compatible version. Followings are version details:

  • Affected version(s): >= 1.15.0, <= 2.17.0
  • Patched version(s): 2.17.1

References

Could your website be exposed too?

SmartScanner can check your website for React Router has XSS Vulnerability and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated January 11, 2026