| 标题 | assafelovic gpt-researcher 3.4.3 Stored Cross-Site Scripting (XSS) |
|---|
| 描述 | GPT Researcher v3.4.3 and earlier versions are vulnerable to Stored Cross-Site Scripting (XSS) through the unauthenticated Report API. An attacker can inject arbitrary HTML and JavaScript into research reports via `POST /api/reports` or `PUT /api/reports/{id}` without authentication. The injected payload is stored server-side and rendered unsanitized in the NextJS frontend when any user navigates to the report URL (`/research/{id}`). The NextJS frontend uses `remark-html` with `sanitize: false` and renders the output via React's `dangerouslySetInnerHTML`, executing the attacker's JavaScript in the victim's browser. |
|---|
| 来源 | ⚠️ https://github.com/assafelovic/gpt-researcher/issues/1693 |
|---|
| 用户 | Yu-Bao (UID 96702) |
|---|
| 提交 | 2026-03-23 03時23分 (6 月前) |
|---|
| 管理 | 2026-04-05 21時12分 (14 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 355418 [assafelovic gpt-researcher 直到 3.4.3 Report API backend/server/app.py 跨网站脚本] |
|---|
| 积分 | 20 |
|---|