Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessRegister as invited user
-
DeliverySet username with img onerror payload
-
ExploitVictim triggers @-mention autocomplete
-
ExecutionUnescaped username renders and script executes
-
PersistExfiltrate localStorage session token
-
ImpactTake over victim account
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to hold a valid invited/registered account on the EdgeChat instance (PR:L) and to set a username containing an HTML payload such as |
| Impact | This is a medium-severity, authenticated stored XSS (CVSS 4.0 base 5.1; vector AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N). The network attack vector and low complexity are meaningfully constrained by two factors the vector itself encodes: PR:L means the attacker must hold a valid (invited) account on the target instance, and UI:P means a victim must trigger the @-mention autocomplete for the payload to fire - so this is not a drive-by, unauthenticated flaw. Impact is rated Low across confidentiality and integrity rather than High, consistent with session-token theft and single-account takeover rather than full server compromise. The vuln.today decision label is 'this_month' (not act_now/emergency), which aligns with the moderate score. No EPSS probability was supplied in the input and the CVE is not listed in CISA KEV, so there is no signal of widespread or automated exploitation; combined with the product's small footprint, this reads as a genuine but lower-tier priority rather than a high-CVSS/low-real-risk mismatch. Key missing data: EPSS score absent and no fixed version provided in the available sources - patch status should be verified with the vendor. |
| Exploit ScenarioDerived | An attacker who has been invited to an EdgeChat instance registers (or renames) with a username containing an |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 16, 2026
Stored cross-site scripting in EdgeChat 2.5.0 through 2.21.0 lets any user who can obtain an invitation to an instance register a username containing an HTML payload (for example an img onerror handler), which the Vditor @-mention autocomplete renders without escaping and which executes in the browser of a victim who mentions or is mentioned by that account. Successful exploitation allows the attacker to read the victim's localStorage session token and take over that account; impact stays client-side and account-scoped rather than reaching server compromise. Scored 5.1 under CVSS 4.0 (assessed equivalently as CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N), the flaw requires invite-level access and passive victim interaction; it is not in CISA KEV and no public exploit code has been confirmed at time of analysis, with a this_month priority.
RemediationAI
No vendor-released patch or fixed version is identified at time of analysis, so affected deployments should be treated as unfixed until an advisory naming a patched release appears; monitoring https://github.com/aozorae/Edgechat/issues/60 and the VulnCheck advisory above is the fastest route to a version number. Until then, apply compensating controls aimed at the two prerequisites: restrict invitations to accounts that are actually trusted (this shrinks the pool of users who can plant a payload but does not remove the flaw, and it does not protect instances that already contain hostile usernames), and server-side reject or normalize usernames containing HTML metacharacters such as <, >, ", ', & at registration, plus re-sanitize existing usernames and the mention payload before it reaches the editor. A Content-Security-Policy on the EdgeChat origin that omits 'unsafe-inline' from script-src will block inline event handlers such as onerror, at the cost of breaking any legitimate inline script the frontend relies on and requiring testing before rollout; additionally consider moving the session token out of localStorage into an HttpOnly, SameSite cookie so that any residual script execution cannot read it, which requires backend changes to how the token is issued and validated. Because the trigger is passive - the victim only has to invoke the mention autocomplete - user awareness training is a weak control here compared with fixing the rendering or restricting who can register.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
EdgeChat is a self-hosted chat application whose frontend is a Vue single-page app; the composer uses the Vditor markdown editor, and the @-mention autocomplete builds its suggestion list from usernames supplied by other users. CWE-79 (improper neutralization of input during web page generation) applies here in its stored variant: registration is not restricted to a safe character set, and the mention dropdown renders the username as HTML rather than as text, so an unbalanced or attribute-breaking string executes markup inside the victim's origin. Because the vulnerable sink is a rich-text mention widget rather than a server template, the execution context is the EdgeChat origin itself, giving injected script access to the same localStorage partition in which the session token is kept - hence the account-takeover path described in the report. The CPE cpe:2.3:a:aozorae:edgechat confirms the affected codebase, and the two referenced source ranges in frontend/src/components/chat/VditorComposerEditor.vue (lines 42-54 and 112-117 at commit 6719ca1) point at the mention/autocomplete handling; the exact escaping failure within those lines is not described in the available sources, so the precise trigger mechanism should be confirmed against the code rather than assumed.
Know when Edgechat gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Attacker needs an invited account (PR:L) and victim must trigger the mention autocomplete (UI:R); script runs in the victim's browser context crossing to another user (S:C) with limited token/account impact (C:L/I:L, A:N).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-126162
GHSA-ph9q-63q9-42hf
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB