CVE-2026-118132

CVE-2026-118132

Published Oct 27, 2026 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

NextChat version 2.16.1 contains a client‑side cross‑site scripting vulnerability in the Plugin Editor. The editor unsafely renders externally supplied OpenAPI plugin schemas using React’s dangerouslySetInnerHTML without sanitization. An attacker can host a malicious schema with embedded HTML or JavaScript, cause a user to load it through the Plugin Editor, and then arbitrary JavaScript will execute in the NextChat origin. This allows the attacker to read JavaScript‑accessible cookies and other client‑side data, effectively compromising the confidentiality and integrity of user data within the application.

Affected Systems

The affected product is NextChat by NextChat, version 2.16.1. No other versions are currently known to be vulnerable.

Risk and Exploitability

The vulnerability provides arbitrary client‑side code execution once the malicious plugin schema is loaded. The CVSS score is 6.1 and the EPSS score is < 1%, indicating moderate severity but low exploitation probability. The CVE is not listed in CISA’s KEV catalog, indicating that no widespread exploitation has been documented, but the capability exists for an attacker to weaponize this flaw if a user is tricked into loading a compromised plugin schema.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade NextChat to a patched release that removes the use of dangerouslySetInnerHTML for plugin schema rendering.
  • If an upgrade is not immediately possible, disable or restrict the loading of plugin schemas from external URLs in the Plugin Editor.
  • Implement input sanitization for any externally provided schema content before rendering, or replace the unsafe rendering mechanism with a safe alternative.

Generated by OpenCVE AI on November 4, 2026 at 18:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
References
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Nextchat
Nextchat nextchat
Vendors & Products Nextchat
Nextchat nextchat
Type Values Removed Values Added
Weaknesses CWE-79
Type Values Removed Values Added
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.
Title CVE-2026-118132
References
Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
certcc
Published
Updated
Nov 4, 2026, 5:00 PM
Reserved
Oct 27, 2026, 5:35 PM
Status
Deferred
Published
Oct 27, 2026, 6:17 PM
Modified
Nov 4, 2026, 5:17 PM