CVE-2026-5625 Details
Description
A weakness has been identified in assafelovic gpt-researcher up to 3.4.3. This issue affects some unknown processing of the file gpt_researcher/skills/researcher.py of the component WebSocket Interface. Executing a manipulation of the argument task can lead to cross site scripting. The attack may be launched remotely. The exploit has been made available to the public and could be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.
A reflected cross-site scripting vulnerability has been identified in Assafelovic GPT-Researcher versions through 3.4.3. The issue arises in the WebSocket interface, specifically within the 'gpt_researcher/skills/researcher.py' file. When a user submits a research task containing HTML or JavaScript, the backend processes this input without proper sanitization. The unsanitized task name is then included in WebSocket log messages, which the lightweight frontend renders using 'innerHTML'. This lack of sanitization allows the injected script to execute in the user's browser. The vulnerability can be exploited remotely, without authentication, but requires user interaction.
The vulnerability can be fixed by properly sanitizing the task input before it is included in log messages. This can be done by escaping HTML characters to prevent the execution of scripts.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 6, 2026CISA-ADP
Assessed Apr 6, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/assafelovic/gpt-researcher/ | [email protected] | ProductSource CodeVendor |
| https://github.com/assafelovic/gpt-researcher/issues/1692 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://vuldb.com/submit/785832 | [email protected] | Technical Description |
| https://vuldb.com/vuln/355415 | [email protected] | AdvisoryExploitTechnical Description |
| https://vuldb.com/vuln/355415/cti | [email protected] | Content Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| assafelovic gpt-researcher | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 24, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Apr 6, 2026 | New CVE Received | [email protected] |
Volerion