原始 OSV JSON{
"id": "GHSA-2j2x-hqr9-3h42",
"aliases": [
"CVE-2026-40181"
],
"details": "Certain URLs passed to the `redirect` function can trigger an open redirect to an external domain depending on the level of validation done by the application prior to returning the `redirect`.\n\n> [!NOTE]\n> This does not impact your React Router application if you are using [Declarative Mode](https://reactrouter.com/start/modes#declarative) (`<BrowserRouter>`)",
"summary": "React Router's same-origin redirect with path starting // causes open redirect via protocol-relative URL reinterpretation",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "7.0.0"
},
{
"fixed": "7.14.1"
}
]
}
],
"package": {
"name": "react-router",
"ecosystem": "npm"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.30.4"
}
]
}
],
"package": {
"name": "react-router",
"ecosystem": "npm"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "1.3.0"
},
{
"fixed": "1.23.3"
}
]
}
],
"package": {
"name": "@remix-run/router",
"ecosystem": "npm"
}
}
],
"modified": "2026-08-04T21:26:09Z",
"severity": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U"
}
],
"published": "2026-06-03T20:58:01Z",
"references": [
{
"url": "https://github.com/remix-run/react-router/security/advisories/GHSA-2j2x-hqr9-3h42",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-40181",
"type": "ADVISORY"
},
{
"url": "https://github.com/remix-run/react-router/commit/d77f6b1",
"type": "WEB"
},
{
"url": "https://github.com/remix-run/react-router",
"type": "PACKAGE"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-601"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2026-06-02T20:16:35Z",
"github_reviewed_at": "2026-06-03T20:58:01Z"
}
}