CVE-2025-59057
React Router has XSS Vulnerability
7.6
HIGH
CVSS 3.1
EPSS 0.45%
描述
A XSS vulnerability exists in in React Router's `meta()`/`<Meta>` APIs in [Framework Mode](https://reactrouter.com/start/modes#framework) when generating `script:ld+json` tags which could allow arbitrary JavaScript execution during SSR if untrusted content is used to generate the tag. > [!NOTE] > This does not impact applications using [Declarative Mode](https://reactrouter.com/start/modes#declarative) (`<BrowserRouter>`) or [Data Mode](https://reactrouter.com/start/modes#data) (`createBrowserRouter`/`<RouterProvider>`).
如何修補 CVE-2025-59057
要修補 CVE-2025-59057,請將受影響套件升級到下列已修補版本。
- —升級至 2.17.1 或更新版本
- —升級至 7.9.0 或更新版本
CVE-2025-59057 正在被利用嗎?
低 — EPSS 為 0.4%,目前沒有觀察到大規模利用活動。
受影響套件(2)
- >= 1.15.0, < 2.17.1
- >= 7.0.0, < 7.9.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N |