React Server Functions 源代码暴露漏洞扫描器。
CVE-2025-55183:React 19.0.0-19.2.1 的 Server Actions 可被利用来暴露其完整源代码,包括硬编码的密钥、API 密钥和数据库凭据。
参考:
cd scanner
cargo build --release
# 扫描单个 URL
scanner --url https://example.com
# 从文件扫描多个 URL
scanner --file urls.txt
选项:
--url, -u 目标 URL
--file, -f 包含 URL 的文件(每行一个)
--output, -o 输出目录(默认:scan-results)
--cookies, -c 认证 Cookie
--timeout, -t 请求超时时间(秒,默认:30)
--verbose, -v 详细输出
--save-all, -a 保存所有响应
# 启动存在漏洞的应用
cd vulnerable-app
npm install
npm run dev
# 扫描它
cd scanner
scanner --url http://localhost:4444 -v
["$F1"] 载荷和 Next-Action 头的 POST 请求