{
  "id": "CVE-2025-31137",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-31137",
  "published_at": "2025-04-01T18:20:32.66Z",
  "title": "Remix and React Router allow URL manipulation via Host / X-Forwarded-Host headers",
  "vendor": "remix-run",
  "product": "react-router",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2025-04-23T10:37:35Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 21.7,
    "repo": "pouriam23/vulnerability-in-Remix-React-Router-CVE-2025-31137-",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "React Router is a multi-strategy router for React bridging the gap from React 18 to React 19. There is 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. This issue has been patched and released in Remix 2.16.3 and React Router 7.4.1.",
  "cwe": "CWE-444",
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [
    {
      "repo": "pouriam23/vulnerability-in-Remix-React-Router-CVE-2025-31137-",
      "url": "https://github.com/pouriam23/vulnerability-in-Remix-React-Router-CVE-2025-31137-",
      "created_at": "2025-04-23T10:37:35Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2024-07-07T14:53:48Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "remix-run",
        "product": "react-router",
        "ranges": [
          "\u003e= 7.0.0, \u003c 7.4.1",
          "\u003e= 2.11.1, \u003c 2.16.3"
        ],
        "fixed_in": [
          "7.4.1",
          "2.16.3"
        ]
      }
    ],
    "upgrade": [
      "Upgrade react-router to 7.4.1 or 2.16.3 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/remix-run/react-router/security/advisories/GHSA-4q56-crqp-v477"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
