Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessRequest unauthenticated WebSocket token
-
DeliveryConnect to YPTSocket server as guest
-
ExploitBroadcast JSON with malicious msg/callback
-
ExecutionServer relays payload to all clients
-
PersistClient eval() executes attacker JavaScript
-
ImpactSteal admin session and run privileged actions
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The YPTSocket plugin must be enabled (it ships bundled and its real-time features are commonly used), and the target's WebSocket endpoint plus getWebSocket.json.php must be reachable by the attacker; no authentication is required because tokens are minted for anonymous visitors (from_users_id=0, isAdmin=false) and accepted on decryption alone (CVSS PR:N confirms unauthenticated). The one real limiting factor is that impact is scoped to users who are connected to the WebSocket at the moment of the broadcast - the injected JavaScript executes in currently-connected clients, so an attacker maximizes value by broadcasting while an administrator or many viewers are online (e.g., during a live stream). No user interaction beyond a victim having the page open is needed (UI:N), and no non-default configuration is required other than the plugin being active. |
| Impact | The signals are strongly aligned toward high real-world severity. CVSS 3.1 base is 10.0 (AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H) - network-reachable, low complexity, no privileges, no user interaction, with a scope change reflecting that code executes in other users' browsers. SSVC reinforces this: exploitation=PoC, Automatable=yes, Technical Impact=total. The one moderating signal is EPSS at 0.17% (38th percentile), which is low; this reflects that mass exploitation has not yet been observed at scale, not that difficulty is high - the low complexity and public PoC mean the EPSS figure is likely to lag the true ease of exploitation rather than contradict it. It is NOT in CISA KEV, so there is no confirmation of active in-the-wild exploitation. Net: this is a genuine high priority for any internet-exposed AVideo instance with YPTSocket enabled, not a high-CVSS-but-low-real-risk case; the main uncertainty is whether an attacker actively targets a given deployment given the product's moderate footprint. |
| Exploit ScenarioDerived | An anonymous attacker requests a WebSocket token from getWebSocket.json.php (granted because the plugin is enabled), connects to the YPTSocket server, and broadcasts a JSON message containing a malicious |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 24, 2026
Unauthenticated cross-user JavaScript execution in WWBN AVideo (versions 29.0 and prior) lets a remote attacker broadcast arbitrary code to every connected browser through the YPTSocket WebSocket plugin. Because anonymous visitors are issued valid socket tokens and the server relays the attacker-controlled msg and callback fields verbatim into client-side eval() sinks, any visitor can execute JavaScript in the origin of all connected users - including administrators - yielding universal account takeover, session theft, and privileged action execution. Publicly available exploit code exists (SSVC: PoC) though the flaw is not listed in CISA KEV, and EPSS is currently low at 0.17%.
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed - no tagged release version is provided in the source data, so apply commit c08694bf6264eb4decceb78c711baee2609b4efd (https://github.com/WWBN/AVideo/commit/c08694bf6264eb4decceb78c711baee2609b4efd) or the next tagged release above 29.0 that contains it, and consult the advisory at https://github.com/WWBN/AVideo/security/advisories/GHSA-gph2-j4c9-vhhr. The fix strips eval-able fields from browser/guest messages: it unsets json['msg']['autoEvalCodeOnHTML'] and drops any json['callback'] that is not a valid JS identifier unless the message originates from the PHP/CLI side (isCommandLineInterface or sentFrom==='php'). If you cannot patch immediately, the most effective compensating control is to disable the YPTSocket plugin (getWebSocket.json.php only issues tokens when the plugin is enabled), which removes the attack surface entirely at the cost of losing real-time features such as live chat, viewer counts, and notifications. Alternatively, block or firewall external access to the WebSocket server port and the getWebSocket.json.php endpoint so only trusted networks can obtain tokens; this breaks real-time functionality for remote/public users. Do not rely on authentication as a control here, since token issuance and acceptance do not require authentication.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in composer, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is the YPTSocket real-time messaging plugin bundled with AVideo (cpe:2.3:a:wwbn:avideo), which runs a Ratchet-style PHP WebSocket server (Message.php / MessageSQLite.php / MessageSQLiteV2.php) paired with a browser client (plugin/YPTSocket/script.js). The root cause is CWE-94 (Code Injection): the browser client passes two server-relayed, attacker-influenced JSON fields into eval() - json.msg.autoEvalCodeOnHTML at script.js line 568 and json.callback at line 95. autoEvalCodeOnHTML is intended as a trusted server-to-client (php-origin) feature, but the server's onMessage default branch rebroadcasts guest-supplied payloads without stripping these fields. Token issuance compounds this: getWebSocket.json.php returns an encrypted token to anyone if the plugin is merely enabled, and getEncryptedInfo() sets from_users_id=0 / isAdmin=false for guests; the onOpen handler accepts the token purely on successful decryption, so no authenticated principal is ever required.
Know when Avideo 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
AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Unauthenticated network reach with no user interaction and trivial broadcast (AV:N/AC:L/PR:N/UI:N); scope changes as code runs in other users' browsers (S:C), enabling session theft and privileged admin actions (C/I/A:H).
Primary rating from GitHub Advisory.
CVSS VectorGitHub Advisory
DescriptionGitHub Advisory
WWBN AVideo is an open source video platform. In versions 29.0 and prior, the YPTSocket plugin's WebSocket server relays attacker-supplied JSON message bodies to every connected client without sanitizing the msg or callback fields. On the client side, plugin/YPTSocket/script.js contains two eval() sinks fed directly by those relayed fields (json.msg.autoEvalCodeOnHTML at line 568 and json.callback at line 95). Because tokens are minted for anonymous visitors and never revalidated beyond decryption, an unauthenticated attacker can broadcast arbitrary JavaScript that executes in the origin of every currently-connected user (including administrators), resulting in universal account takeover, session theft, and privileged action execution. Commit c08694bf6264eb4decceb78c711baee2609b4efd contains a fix.
Executive ViewAI
WWBN AVideo versions 29.0 and earlier contain a critical remote code execution vulnerability (CVE-2026-40911) allowing any visitor to inject and execute arbitrary JavaScript across all connected user browsers, including administrators. The flaw enables comprehensive account takeover, session hijacking, and execution of unauthorized administrative actions at scale; publicly available exploit code exists. Organizations running affected versions face immediate risk of total user and infrastructure compromise.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict YPTSocket WebSocket access to internal-only or authenticated connections; segment AVideo infrastructure from critical systems and sensitive data; deploy WAF rules to validate socket messages and reject suspicious payloads; enforce mandatory re-authentication for all sensitive administrative operations; enable comprehensive logging of all socket events and client-side JavaScript execution; deploy EDR to monitor for indicators of compromise including unauthorized session activity, administrative action execution, and account takeover attempts.
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
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
A cross-site scripting (xss) vulnerability exists in the functiongetOpenGraph videoName functionality of WWBN AVideo 11.
An issue in WWBN AVideo v.12.4 through v.14.2 allows a remote attacker to execute arbitrary code via the systemRootPath
A directory traversal vulnerability exists in the unzipDirectory functionality of WWBN AVideo 11.6 and dev master commit
An insufficient entropy vulnerability exists in the salt generation functionality of WWBN AVideo dev master commit 15fed
Unauthenticated SQL injection in AVideo before 24.0.
OS injection vulnerability in World Wide Broadcast Network AVideo version before 12.4, allows attackers to execute arbit
A reflected cross-site scripting (xss) vulnerability exists in the charts tab selection functionality of WWBN AVideo 11.
A cross-site scripting (xss) vulnerability exists in the channelBody.php user name functionality of WWBN AVideo 11.6 and
A cross-site scripting (xss) vulnerability exists in the videoAddNew functionality of WWBN AVideo 11.6 and dev master co
An insufficient entropy vulnerability exists in the userRecoverPass.php recoverPass generation functionality of WWBN AVi
WWBN AVideo is an open source video platform. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable
AVideo is an open source video platform. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, low
EUVD-2026-24479
GHSA-gph2-j4c9-vhhr
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB