Submit #785856: assafelovic gpt-researcher 3.4.3 Stored Cross-Site Scripting (XSS)info

Titleassafelovic gpt-researcher 3.4.3 Stored Cross-Site Scripting (XSS)
DescriptionGPT 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.
Source⚠️ https://github.com/assafelovic/gpt-researcher/issues/1693
User
 Yu-Bao (UID 96702)
Submission03/23/2026 03:23 (15 days ago)
Moderation04/05/2026 21:12 (14 days later)
StatusAccepted
VulDB entry355418 [assafelovic gpt-researcher up to 3.4.3 Report API backend/server/app.py cross site scripting]
Points20

Do you know our Splunk app?

Download it now for free!