CVE-2026-43874

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

No configuration.

History

12 May 2026, 14:17

Type Values Removed Values Added
References () https://github.com/WWBN/AVideo/security/advisories/GHSA-ghcv-22jf-vfxm - () https://github.com/WWBN/AVideo/security/advisories/GHSA-ghcv-22jf-vfxm -

11 May 2026, 21:19

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-11 21:19

Updated : 2026-05-12 14:50


NVD link : CVE-2026-43874

Mitre link : CVE-2026-43874

CVE.ORG link : CVE-2026-43874


JSON object : View

Products Affected

No product.

CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')