{"id":"CVE-2026-129541","kind":"vulnerability","aliases":["CVE-2026-129541"],"related":[],"title":"EdgeChat: unescaped usernames in @-mentions let attackers steal session tokens","description":"EdgeChat 2.5.0 through 2.21.0 contains a cross-site scripting vulnerability that allows invited users to inject HTML through unescaped usernames in the Vditor @-mention autocomplete. Attackers can register with a username containing an img onerror payload that executes when mentioned, stealing the localStorage session token to take over victim accounts.","summary":"EdgeChat versions 2.5.0 through 2.21.0 do not escape usernames in the Vditor @-mention autocomplete. A user who registers a username containing an HTML payload gets script run in the browser of anyone who is mentioned, which can read the localStorage session token and take over that account.","severity":"medium","cvss":5.4,"epss":null,"exploited":false,"exploited_at":null,"products":[{"name":"EdgeChat","fixed":[],"affected":"","ecosystem":"vendor"}],"ecosystems":["vendor"],"tags":["chat","edgechat","other","self-hosted"],"not_affected_if":["default-config"],"how_to_check":"- Check the EdgeChat version in use; versions `2.5.0` through `2.21.0` are listed as affected.\n- Search existing usernames for HTML or script tags such as `<img` with `onerror`.","fix":null,"status":"open","published_at":"2026-11-16T02:17:12+00:00","first_seen_at":"2026-11-16T02:39:02+00:00","triaged_at":"2026-11-16T02:41:02+00:00","updated_at":"2026-11-16T02:41:02+00:00","category":"other","confidence":0.6,"triage":{"at":"2026-11-16T02:41:02Z","model":"claude-haiku-5-5","output":{"fix":"unknown","reach":"internet","title":"EdgeChat: unescaped usernames in @-mentions let attackers steal session tokens","impact":"medium","summary":"EdgeChat versions 2.5.0 through 2.21.0 do not escape usernames in the Vditor @-mention autocomplete. A user who registers a username containing an HTML payload gets script run in the browser of anyone who is mentioned, which can read the localStorage session token and take over that account.","audience":"businesses","category":"other","nicknames":[],"who_cares":["edgechat","self-hosted","chat"],"confidence":0.6,"fix_status":"unknown","needs_auth":"yes","worst_case":"Victim session tokens are stolen, enabling account takeover","analyst_note":"Confirm the fixed version and any mitigation from the NVD entry or the VulnCheck advisory; no fix is stated in the sources.","how_to_check":"- Check the EdgeChat version in use; versions `2.5.0` through `2.21.0` are listed as affected.\n- Search existing usernames for HTML or script tags such as `<img` with `onerror`.","plain_action":"","product_name":"EdgeChat","needs_analyst":true,"not_affected_if":["default-config"],"who_is_affected":"Any EdgeChat deployment in the affected version range where invited users can register and be mentioned. The payload needs an account to register, so instances without open or invited registration face less exposure. unknown whether managed hosting is affected.","user_interaction":"yes","product_ecosystem":"vendor","needs_special_setup":"unknown","severity_if_unknown":"medium"},"cost_usd":0.00074,"input_tokens":4604,"output_tokens":560,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-129541':13A,16A '-2026':12A,15A '2.21.0':28B,74C '2.5.0':26B,72C 'account':70B,121C 'allow':83C 'anyon':55B 'attack':7A,97C 'autocomplet':37B,96C 'browser':53B 'chat':18B 'contain':44B,75C,103C 'cross':78C 'cross-sit':77C 'cve':11A,14A 'edgechat':1A,17A,19B,24B,71C 'escap':31B 'execut':109C 'get':48B 'host':23B 'html':46B,88C 'img':105C 'inject':87C 'invit':84C 'let':6A 'localstorag':63B,114C 'mention':5A,36B,58B,95C,111C 'onerror':106C 'payload':47B,107C 'read':61B 'regist':41B,99C 'run':50B 'script':49B,80C 'self':22B 'self-host':21B 'session':9A,64B,115C 'site':79C 'steal':8A,112C 'take':67B,118C 'token':10A,65B,116C 'unescap':2A,90C 'user':39B,85C 'usernam':3A,32B,43B,91C,102C 'vditor':35B,94C 'version':25B 'victim':120C 'vulner':81C","nicknames":[],"mitigations":[],"who_affected":"Any EdgeChat deployment in the affected version range where invited users can register and be mentioned. The payload needs an account to register, so instances without open or invited registration face less exposure. unknown whether managed hosting is affected.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"none","audience":"businesses","plain_action":null,"pkeys":["edgechat"],"ptokens":["edgechat"],"labels":["chat","edgechat","medium","other","selfhosted","vendor"],"campaign_type":null,"search_a":"'-129541':13A,16A '-2026':12A,15A 'attack':7A 'cve':11A,14A 'edgechat':1A,17A 'let':6A 'mention':5A 'session':9A 'steal':8A 'token':10A 'unescap':2A 'usernam':3A","search_b":"'2.21.0':28B '2.5.0':26B 'account':70B 'anyon':55B 'autocomplet':37B 'browser':53B 'chat':18B 'contain':44B 'edgechat':19B,24B 'escap':31B 'get':48B 'host':23B 'html':46B 'localstorag':63B 'mention':36B,58B 'payload':47B 'read':61B 'regist':41B 'run':50B 'script':49B 'self':22B 'self-host':21B 'session':64B 'take':67B 'token':65B 'user':39B 'usernam':32B,43B 'vditor':35B 'version':25B","search_c":"'2.21.0':74C '2.5.0':72C 'account':121C 'allow':83C 'attack':97C 'autocomplet':96C 'contain':75C,103C 'cross':78C 'cross-sit':77C 'edgechat':71C 'execut':109C 'html':88C 'img':105C 'inject':87C 'invit':84C 'localstorag':114C 'mention':95C,111C 'onerror':106C 'payload':107C 'regist':99C 'script':80C 'session':115C 'site':79C 'steal':112C 'take':118C 'token':116C 'unescap':90C 'user':85C 'usernam':91C,102C 'vditor':94C 'victim':120C 'vulner':81C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-16T02:17:12+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-129541","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129541","severity":null,"published_at":"2026-11-16T02:17:12+00:00","modified_at":"2026-11-16T02:17:12+00:00","first_seen_at":"2026-11-16T02:39:02+00:00","fetched_at":"2026-11-16T02:39:02+00:00","note":null}],"documents":[{"id":166997,"url":"https://www.vulncheck.com/advisories/edgechat-2.5.0-through-2.21.0-xss-via-mention-autocomplete-username","title":"Third-party advisory: www.vulncheck.com","kind":"advisory","source":"nvd","publisher":"research","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":"Third-party advisory: www.vulncheck.com"}],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}