{"id":"CVE-2026-40911","published":"2026-04-21T19:55:37Z","modified":"2026-04-22T13:22:26Z","title":"WWBN AVideo YPTSocket WebSocket Broadcast Relay Leads to Unauthenticated Cross-User JavaScript Execution via…","vendor":"WWBN","product":"AVideo","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00656,"percentile":0.52352,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/WWBN/AVideo/security/advisories/GHSA-gph2-j4c9-vhhr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/WWBN/AVideo/commit/c08694bf6264eb4decceb78c711baee2609b4efd","tags":["x_refsource_MISC"]}],"priority":{"score":17.5,"factors":[{"name":"EPSS percentile","points":10.47},{"name":"CVSS severity","points":7.0}]},"vendorSlug":"wwbn","affectedVersions":[{"vendor":"WWBN","product":"AVideo","versions":["<= 29.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-04-22T13:21:59.998968Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"wwbn/avideo","vulnerableRanges":["<=29.0"],"patched":[],"from":["GHSA-gph2-j4c9-vhhr"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-24479","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-wwbn-avideo-cve-2026-40911","children":[{"from":"CVE-2026-40911","to":"CVE-2026-43874","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-ghcv-22jf-vfxm","via":"reference","url":"https://github.com/advisories/GHSA-gph2-j4c9-vhhr"},{"kind":"same-code","provenance":"machine","files":["plugin/YPTSocket/Message.php","plugin/YPTSocket/MessageSQLiteV2.php"],"commits":["https://github.com/WWBN/AVideo/commit/c08694bf6264eb4decceb78c711baee2609b4efd","https://github.com/WWBN/AVideo/commit/9f3006f9a89a34daa67a83c6ad35f450cb91fcce"],"basis":"shared function","functions":["onMessage"]},{"kind":"similar","provenance":"machine","score":0.36,"basis":"same product + CWE + description similarity"}]}]}}