CVE-2026-43874
Received Received - Intake
Remote Code Execution in WWBN AVideo

Publication date: 2026-05-11

Last updated on: 2026-05-11

Assigner: GitHub, Inc.

Description
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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-05-11
Last Modified
2026-05-11
Generated
2026-05-12
AI Q&A
2026-05-12
EPSS Evaluated
N/A
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
wwbn avideo to 29.0 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-94 The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability affects WWBN AVideo, an open source video platform, in versions up to and including 29.0. The issue arises because the server-side mitigation for a code execution vulnerability (YPTSocket autoEvalCodeOnHTML eval sink) only removes malicious payloads when they are located under a specific JSON field ($json['msg']). However, the relay function msgToResourceId() selects messages from a different JSON field ($msg['json']) before $msg['msg'].

An unauthenticated attacker can obtain a WebSocket token, connect to the WebSocket server, and send a message with malicious code nested under the top-level json field. Because the stripping of the payload is skipped in this case, the malicious payload is delivered verbatim to any logged-in user identified by to_users_id, and the client script executes it using eval(), leading to remote code execution.


How can this vulnerability impact me? :

This vulnerability allows an unauthenticated attacker to execute arbitrary code on the client side of any logged-in user by sending specially crafted messages through the WebSocket connection. This can lead to compromise of user accounts, unauthorized actions performed on behalf of users, data theft, or further exploitation of the system.


What immediate steps should I take to mitigate this vulnerability?

To mitigate this vulnerability, update WWBN AVideo to a version that includes the fix from commit 9f3006f9a89a34daa67a83c6ad35f450cb91fcce, which corrects the server-side mitigation for the YPTSocket autoEvalCodeOnHTML eval sink.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart