Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @remix-run/express
  4. ›
  5. CVE-2025-31137

CVE-2025-31137: Remix and React Router allow URL manipulation via Host / X-Forwarded-Host headers

April 1, 2025

We received a report about a vulnerability in Remix/React Router that affects all Remix 2 and React Router 7 consumers using the Express adapter. Basically, this vulnerability allows anyone to spoof the URL used in an incoming Request by putting a URL pathname in the port section of a URL that is part of a Host or X-Forwarded-Host header sent to a Remix/React Router request handler.

References

  • github.com/advisories/GHSA-4q56-crqp-v477
  • github.com/remix-run/react-router
  • github.com/remix-run/react-router/security/advisories/GHSA-4q56-crqp-v477
  • nvd.nist.gov/vuln/detail/CVE-2025-31137

Code Behaviors & Features

Detect and mitigate CVE-2025-31137 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 2.11.1 before 2.16.3

Fixed versions

  • 2.16.3

Solution

Upgrade to version 2.16.3 or above.

Impact 7.5 HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')

Source file

npm/@remix-run/express/CVE-2025-31137.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:19 +0000.