CVE-2026-118132

Source
https://cve.org/CVERecord?id=CVE-2026-118132
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-118132.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-118132
Published
2026-10-27T17:38:13Z
Modified
2026-11-05T21:16:00Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
CVE-2026-118132
Details

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.

Database specific
{
    "cna_assigner":  "certcc",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118132.json"
}
References

Affected packages

Git / github.com/chatgptnextweb/nextchat

Affected ranges

Type
GIT
Repo
https://github.com/chatgptnextweb/nextchat
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "2.16.1"
                },
                {
                    "last_affected":  "2.16.1"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        }
    ]
}

Affected versions

2.*
2.16.1
v2.*
v2.16.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-118132.json"