CVE-2025-31137
Remix and React Router allow URL manipulation via Host / X-Forwarded-Host headers
7.5
HIGH
CVSS 3.1
EPSS 0.10%
描述
### Impact 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. ### Patches This issue has been patched and released in Remix 2.16.3 React Router 7.4.1. ### Credits - Rachid Allam (zhero;) - Yasser Allam (inzo_)
如何修補 CVE-2025-31137
要修補 CVE-2025-31137,請將受影響套件升級到下列已修補版本。
- —升級至 7.4.1 或更新版本
- —升級至 2.16.3 或更新版本
CVE-2025-31137 正在被利用嗎?
低 — EPSS 為 0.1%,目前沒有觀察到大規模利用活動。
受影響套件(2)
- >= 7.0.0, < 7.4.1
- >= 2.11.1, < 2.16.3
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |