Cross-site scripting in NextChat Plugin Editor
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-79.
Summary
NextChat from 2.16.1 has a cross-site scripting flaw in its Plugin Editor (CWE-79). Plugin schema content loaded from a remote URL is rendered as HTML without sanitization. An attacker who hosts a malicious OpenAPI schema can trick a user into loading it through the Plugin Editor, which runs attacker JavaScript in the NextChat origin and gives access to cookies that JavaScript can read and other client-side data.
Written with Claude Haiku 5.5 from the sources below · 2026-11-04
Description from the CNA
NextChat version 2.16.1 contains a client‑side cross‑site scripting (XSS) vulnerability in the Plugin Editor due to unsafe rendering of externally supplied OpenAPI plugin schema content. When a plugin schema is loaded from a remote URL, the returned content is stored in plugin.content and later rendered using React’s dangerouslySetInnerHTML without proper sanitization. An attacker can host a malicious OpenAPI schema containing HTML or JavaScript markup and trick a user into loading it through the Plugin Editor, resulting in arbitrary JavaScript execution in the NextChat origin. Successful exploitation allows access to JavaScript‑readable cookies and other client‑side data associated with the NextChat application.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| ChatGPTNextWeb | NextChat | 2.16.1 | — | No fix listed | CNA |
- NextChat VendorChatGPTNextWeb Affected 2.16.1 Fixed in — No fix listed CNA
Remediation
The sources list no fixed version for NextChat.
Written with Claude Haiku 5.5 from the sources below · 2026-11-04
Timeline
- 2026-10-27 Threatist record created from CVE-2026-118132
- 2026-10-27 Alias added: GHSA-whxc-wj8p-jg38
- 2026-11-04 CVSS score added · CISA ADP
- 2026-11-04 Weakness changed · CISA ADP
- 2026-11-04 CISA SSVC decision points changed
References
More ChatGPTNextWeb vulnerabilities
- TI-2023-27194 NextChat vulnerable to Server-Side Request Forgery and Cross-site Scripting CVSS 3.1CRITICAL 9.8
- TI-2026-56977 NextChat 2.15.8 through 2.16.1 OpenAI API Key Disclosure CVSS 4.0HIGH 8.7
- TI-2025-32232 Directory traversal vulnerability in NextChat thru 2.16.0 due to the WebDAV proxy failing… CVSS 3.1HIGH 7.5
- TI-2026-67707 Server-side request forgery in NextChat Proxy Fallback proxyHandler CVSS 4.0MEDIUM 6.9
- TI-2026-06726 ChatGPTNextWeb NextChat actions.ts addMcpServer improper authorization CVSS 4.0MEDIUM 6.9
- TI-2026-06301 ChatGPTNextWeb NextChat Artifacts Endpoint route.ts storeUrl server-side request forgery CVSS 4.0MEDIUM 6.9
Sources
- CVE-2026-118132 · CVE Program
- CVE-2026-118132 · NVD
- FIRST EPSS
- GHSA-whxc-wj8p-jg38 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences