Refine your search
1 vulnerability found for NextChat by NextChat
CVE-2026-118132 (GCVE-0-2026-118132)
Vulnerability from cvelistv5
Published
2026-10-27 17:38
Modified
2026-10-27 17:38
Severity ?
VLAI Severity ?
EPSS score ?
Summary
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.
References
{
"containers": {
"cna": {
"affected": [
{
"product": "NextChat",
"vendor": "NextChat",
"versions": [
{
"status": "affected",
"version": "2.16.1"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "NextChat version 2.16.1 contains a client\u2011side cross\u2011site 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\u2019s 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\u2011readable cookies and other client\u2011side data associated with the NextChat application."
}
],
"problemTypes": [
{
"descriptions": [
{
"description": "CWE-79 Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
"lang": "en"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-10-27T17:38:13.552Z",
"orgId": "37e5125f-f79b-445b-8fad-9564f167944b",
"shortName": "certcc"
},
"references": [
{
"url": "https://github.com/ChatGPTNextWeb/NextChat"
}
],
"source": {
"discovery": "UNKNOWN"
},
"title": "CVE-2026-118132",
"x_generator": {
"engine": "VINCE 3.0.51",
"env": "prod",
"origin": "https://cveawg.mitre.org/api/cve/CVE-2026-118132"
}
}
},
"cveMetadata": {
"assignerOrgId": "37e5125f-f79b-445b-8fad-9564f167944b",
"assignerShortName": "certcc",
"cveId": "CVE-2026-118132",
"datePublished": "2026-10-27T17:38:13.552Z",
"dateReserved": "2026-10-27T17:35:26.020Z",
"dateUpdated": "2026-10-27T17:38:13.552Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}