Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
react-cve-2025-55182 | Kitploit
工具/GitHubGitHub/amir-malek/react-cve-2025-55182
漏洞扫描器代码分析Web安全DevSecOps供应链安全学习与教育
GitHubamir-malek/react-cve-2025-55182

react-cve-2025-55182

查看仓库
8个月前尚未审核

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

fix-react2shell

一个用于检测和修复 React Server Components 与 Next.js 应用中严重 CVE-2025-55182(React2Shell)漏洞的 CLI 工具。

漏洞详情

CVE-2025-55182 是一个严重的(CVSS 10.0)未认证远程代码执行漏洞,影响范围包括:

  • React Server DOM 软件包(版本 19.0.0、19.1.0、19.1.1、19.2.0)
  • Next.js(版本 14.3.0-canary.77 至未修补的 15.x 和 16.x)

该漏洞是 React Server Components Flight 协议中的一个不安全反序列化缺陷。利用该漏洞仅需一个精心构造的 HTTP 请求,且已有公开的漏洞利用代码。

没有变通方案 — 必须升级到已修补的版本。

更多信息

  • React 官方公告
  • Next.js 安全公告
  • Vercel 摘要

安装

方式一:直接使用 npx 运行

root@kitploit:~
npx @amirmalek/fix-react2shell

方式二:克隆此仓库

root@kitploit:~
git clone https://github.com/amir-malek/react-cve-2025-55182.git
cd react-cve-2025-55182
node fix-react2shell.js

方式三:下载脚本

root@kitploit:~
curl -O https://raw.githubusercontent.com/amir-malek/react-cve-2025-55182/main/fix-react2shell.js
node fix-react2shell.js

使用方法

进入你的 React/Next.js 项目目录并运行:

root@kitploit:~
# Dry-run mode (default) - shows what would be upgraded
npx @amirmalek/fix-react2shell

# Actually perform the upgrades
npx @amirmalek/fix-react2shell --fix

# Show detailed version information
npx @amirmalek/fix-react2shell --verbose

# Show help
npx @amirmalek/fix-react2shell --help

示例输出

root@kitploit:~
╔══════════════════════════════════════════════════════════════╗
║        CVE-2025-55182 (React2Shell) Vulnerability Scanner    ║
╚══════════════════════════════════════════════════════════════╝

Package manager: yarn
Project: my-nextjs-app

⚠ Found 1 vulnerable package(s):

  ✗ next
    Current: 15.3.5 → Safe: 15.3.7

────────────────────────────────────────────────────────────
DRY RUN MODE - No changes made.
Run with --fix to upgrade packages.

Command that would be run:
  yarn add [email protected]

功能特性

  • 智能检测 — 仅标记实际存在漏洞的版本,而非所有 React 19 项目
  • 多包管理器支持 — 自动检测并使用 npm、yarn 或 pnpm
  • 默认安全 — 除非显式传入 --fix,否则以试运行模式运行
  • 零依赖 — 仅使用 Node.js 内置模块
  • 便携 — 可在任何项目目录中运行

受影响版本

React Server DOM 软件包

软件包受影响版本安全版本
react-server-dom-webpack

Next.js

升级之后

在修补版本并重新部署应用后,强烈建议执行以下操作:

  1. 轮换所有应用机密(API 密钥、数据库凭据、JWT 密钥等)
  2. 审查应用日志,查找任何先前被利用的迹象
  3. 审计你的基础设施,如果你怀疑已被入侵

许可证

MIT

贡献

欢迎在 github.com/amir-malek/react-cve-2025-55182 提交 Issue 和 Pull Request。

下载工具
19.0.0, 19.1.0, 19.1.1, 19.2.0
19.0.1, 19.1.2, 19.2.1
react-server-dom-parcel19.0.0, 19.1.0, 19.1.1, 19.2.019.0.1, 19.1.2, 19.2.1
react-server-dom-turbopack19.0.0, 19.1.0, 19.1.1, 19.2.019.0.1, 19.1.2, 19.2.1
分支安全版本
15.0.x15.0.5
15.1.x15.1.9
15.2.x15.2.6
15.3.x15.3.6
15.4.x15.4.8
15.5.x15.5.7
16.0.x16.0.7