---
id: "CVE-2026-129541"
page: "https://infrastack.ai/live/CVE-2026-129541"
kind: "vulnerability"
aliases: ["CVE-2026-129541"]
title: "EdgeChat: unescaped usernames in @-mentions let attackers steal session tokens"
severity: "medium"
cvss: 5.4
epss: null
exploited: false
status: "open"
category: "other"
products: [{"name": "EdgeChat", "fixed": [], "affected": "", "ecosystem": "vendor"}]
ecosystems: ["vendor"]
tags: ["chat", "edgechat", "other", "self-hosted"]
not_affected_if: ["default-config"]
published_at: "2026-11-16T02:17:12+00:00"
first_seen_at: "2026-11-16T02:39:02+00:00"
updated_at: "2026-11-16T02:41:02+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-129541", "first_seen_at": "2026-11-16T02:39:02+00:00"}]
exploit_sources: []
---

# EdgeChat: unescaped usernames in @-mentions let attackers steal session tokens

Link for people: https://infrastack.ai/live/CVE-2026-129541 (this .md is for agents)

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.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- vendor:EdgeChat affected range not listed fixed no fixed version listed

## How to check

- Check the EdgeChat version in use; versions `2.5.0` through `2.21.0` are listed as affected.
- Search existing usernames for HTML or script tags such as `<img` with `onerror`.

## Timeline

- 2026-11-16T02:39:02+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-129541

## Documents

- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/edgechat-2.5.0-through-2.21.0-xss-via-mention-autocomplete-username

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
