Skip to main content

EdgeChat EUVDEUVD-2026-126162

| CVE-2026-129541 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-11-16 VulnCheck GHSA-ph9q-63q9-42hf
5.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Register as invited user
  2. Delivery
    Set username with img onerror payload
  3. Exploit
    Victim triggers @-mention autocomplete
  4. Execution
    Unescaped username renders and script executes
  5. Persist
    Exfiltrate localStorage session token
  6. Impact
    Take 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 <img src=x onerror=...>. The payload only executes when a victim user triggers the Vditor @-mention autocomplete and the unescaped username is rendered (UI:P - passive victim interaction). Limiting factors: attacker needs invite-level access to the specific instance, a separate victim must actually invoke the mention autocomplete that surfaces the malicious username, impact is scoped to theft of the victim's localStorage session token / single-account takeover rather than server-side compromise, and only deployments running versions 2.5.0 through 2.21.0 are affected.

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 <img onerror=...> payload. When any other user types '@' and the Vditor mention autocomplete renders that unescaped username, the onerror handler executes in the victim's browser and reads the session token from localStorage, enabling account takeover. No confirmed working exploit code is identified in the input, though a VulnCheck advisory and GitHub issue #60 document the technique and the vulnerable source lines.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

EdgeChat 2.5.0 ≤2.21.0

Affected Packages

euvd edgechat no fix

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

Vendor (VulnCheck) PRIMARY 5.1 MEDIUM
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
vuln.today AI 5.4 MEDIUM

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).

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

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

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Rare
obscure small open-source chat project (aozorae/Edgechat), negligible enterprise footprint
Social Media
2
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy