Input validation error in Remix - CVE-2025-31137

 

Input validation error in Remix - CVE-2025-31137

Published: April 1, 2025 / Updated: June 19, 2026


Vulnerability identifier: #VU134932
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2025-31137
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Remix
Affected software:
Remix

Detailed vulnerability description

The vulnerability allows a remote attacker to spoof the URL used in an incoming request.

The vulnerability exists due to improper input validation in the Express adapter request handler when processing Host or X-Forwarded-Host headers. A remote attacker can send a specially crafted Host or X-Forwarded-Host header containing a URL pathname in the port section to spoof the URL used in an incoming request.


How to mitigate CVE-2025-31137

Install security update from vendor's website.

Sources