{"id":"CVE-2026-43874","published":"2026-05-11T20:29:59Z","modified":"2026-05-12T13:24:03Z","title":"WWBN AVideo: Incomplete Fix for YPTSocket autoEvalCodeOnHTML Strip: Unauthenticated Cross-User JavaScript Execution…","vendor":"WWBN","product":"AVideo","tier":"tail","description":{"text":"WWBN AVideo is an open source video platform. In versions up to and including 29.0, the server-side mitigation for the YPTSocket autoEvalCodeOnHTML eval sink (from CVE-2026-40911) only strips the payload when it sits under $json['msg'], but the relay function msgToResourceId() selects the outbound message from $msg['json'] before $msg['msg']. An unauthenticated attacker can obtain a WebSocket token from plugin/YPTSocket/getWebSocket.json.php, connect to the WebSocket server, and send a message with autoEvalCodeOnHTML nested under a top-level json field — the strip branch is skipped, the relay delivers the payload verbatim to any logged-in user identified by to_users_id, and the client script runs it through eval(). Commit 9f3006f9a89a34daa67a83c6ad35f450cb91fcce contains an updated fix.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00293,"percentile":0.22398,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/WWBN/AVideo/security/advisories/GHSA-ghcv-22jf-vfxm","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/WWBN/AVideo/commit/9f3006f9a89a34daa67a83c6ad35f450cb91fcce","tags":["x_refsource_MISC"]}],"priority":{"score":9.5,"factors":[{"name":"EPSS percentile","points":4.48},{"name":"CVSS severity","points":5.04}]},"vendorSlug":"wwbn","affectedVersions":[{"vendor":"WWBN","product":"AVideo","versions":["<= 29.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-05-12T13:23:59.294265Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"wwbn/avideo","vulnerableRanges":["<=29.0"],"patched":[],"from":["GHSA-ghcv-22jf-vfxm"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-29310","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-wwbn-avideo-cve-2026-40911","parents":[{"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"}]}]}}