CVE-2025-31137 is a high-severity URL spoofing vulnerability affecting Remix 2.x and React Router 7.x deployments that use the Express adapter. The flaw is caused by improper handling and insufficient sanitization of the Host and X-Forwarded-Host headers when constructing the incoming Request URL. An attacker can place a URL pathname into the port portion of a Host-related header, causing the Remix/React Router request handler to interpret a spoofed URL/path different from the actual request target. According to the provided content, affected versions include Remix prior to 2.16.3 and React Router prior to 7.4.1 when using the Express adapter.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.
This repository is a Capture The Flag (CTF) challenge designed to demonstrate and teach exploitation of a vulnerability in Remix React Router (CVE-2025-31137). The repository contains a sample Remix application (version 2.16.0) with instructions to patch the @remix-run/express package to a vulnerable state by replacing its server.js with a provided vulnerable version (server.ts). The main goal is to access the admin page and retrieve a flag, simulating a real-world exploitation scenario. The application is built using TypeScript, React, and Express, with entry points in 'server.js' and the Remix app files. The attack vector is network-based, targeting the HTTP server running on localhost:3000. The repository does not contain a weaponized payload but provides a proof-of-concept environment for learning and demonstrating the vulnerability. The README is comprehensive, guiding users through setup and exploitation, and references external research for further learning.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
5 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.