Read the docs

Cross-site scripting in NextChat Plugin Editor

Priority LOW 27CWE-79Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00247 16th percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

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

VendorProductAffected versionsFixed inStatusSource
ChatGPTNextWebNextChat2.16.1—No fix listedCNA
  • 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

  1. 2026-10-27 Threatist record created from CVE-2026-118132
  2. 2026-10-27 Alias added: GHSA-whxc-wj8p-jg38
  3. 2026-11-04 CVSS score added · CISA ADP
  4. 2026-11-04 Weakness changed · CISA ADP
  5. 2026-11-04 CISA SSVC decision points changed

References

  • 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
See all 9 →

Sources