CVE-2026-43874: CWE-94: Improper Control of Generation of Code ('Code Injection') in WWBN AVideo
CVE-2026-43874 is a high-severity code injection vulnerability in WWBN AVideo versions up to and including 29.0. The issue arises because the server-side mitigation for a previous vulnerability (CVE-2026-40911) only strips malicious payloads in a specific JSON field ($json['msg']), but the relay function uses a different field ($msg['json']) to select outbound messages. An unauthenticated attacker can obtain a WebSocket token, connect to the WebSocket server, and send a specially crafted message that bypasses the stripping mechanism. This message is then relayed verbatim to logged-in users and executed via eval() on the client side, enabling code injection. There is a commit referenced that contains an updated fix, but no official patch or vendor advisory is provided in the data.
AI Analysis
Technical Summary
WWBN AVideo up to version 29.0 contains a code injection vulnerability (CWE-94) due to improper control of code generation. The vulnerability stems from a logic flaw in the server-side mitigation of the YPTSocket autoEvalCodeOnHTML eval sink. The mitigation only removes payloads under $json['msg'], but the relay function msgToResourceId() selects messages from $msg['json'], allowing an attacker to bypass the filter. An unauthenticated attacker can obtain a WebSocket token, connect to the WebSocket server, and send a message with malicious code nested under a top-level json field. This payload is delivered verbatim to logged-in users identified by to_users_id, and the client executes it via eval(), resulting in code injection. A commit (9f3006f9a89a34daa67a83c6ad35f450cb91fcce) reportedly contains a fix, but no official patch or advisory details are provided.
Potential Impact
Successful exploitation allows an unauthenticated attacker to inject and execute arbitrary code in the context of logged-in users via the WebSocket messaging system. This can lead to partial confidentiality and integrity loss (CVSS impact: Confidentiality Low, Integrity Low), but does not affect availability. The vulnerability enables cross-user code execution through client-side eval(), potentially compromising user sessions or data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The description references a commit containing an updated fix, but no official patch or vendor advisory is provided. Until an official fix is confirmed, restrict access to WebSocket tokens and monitor for unusual WebSocket activity. Avoid using affected versions (<= 29.0) in production environments where possible.
CVE-2026-43874: CWE-94: Improper Control of Generation of Code ('Code Injection') in WWBN AVideo
Description
CVE-2026-43874 is a high-severity code injection vulnerability in WWBN AVideo versions up to and including 29.0. The issue arises because the server-side mitigation for a previous vulnerability (CVE-2026-40911) only strips malicious payloads in a specific JSON field ($json['msg']), but the relay function uses a different field ($msg['json']) to select outbound messages. An unauthenticated attacker can obtain a WebSocket token, connect to the WebSocket server, and send a specially crafted message that bypasses the stripping mechanism. This message is then relayed verbatim to logged-in users and executed via eval() on the client side, enabling code injection. There is a commit referenced that contains an updated fix, but no official patch or vendor advisory is provided in the data.
CVSS v3.1
Score 7.2high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
WWBN AVideo up to version 29.0 contains a code injection vulnerability (CWE-94) due to improper control of code generation. The vulnerability stems from a logic flaw in the server-side mitigation of the YPTSocket autoEvalCodeOnHTML eval sink. The mitigation only removes payloads under $json['msg'], but the relay function msgToResourceId() selects messages from $msg['json'], allowing an attacker to bypass the filter. An unauthenticated attacker can obtain a WebSocket token, connect to the WebSocket server, and send a message with malicious code nested under a top-level json field. This payload is delivered verbatim to logged-in users identified by to_users_id, and the client executes it via eval(), resulting in code injection. A commit (9f3006f9a89a34daa67a83c6ad35f450cb91fcce) reportedly contains a fix, but no official patch or advisory details are provided.
Potential Impact
Successful exploitation allows an unauthenticated attacker to inject and execute arbitrary code in the context of logged-in users via the WebSocket messaging system. This can lead to partial confidentiality and integrity loss (CVSS impact: Confidentiality Low, Integrity Low), but does not affect availability. The vulnerability enables cross-user code execution through client-side eval(), potentially compromising user sessions or data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The description references a commit containing an updated fix, but no official patch or vendor advisory is provided. Until an official fix is confirmed, restrict access to WebSocket tokens and monitor for unusual WebSocket activity. Avoid using affected versions (<= 29.0) in production environments where possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-04T15:17:09.329Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a028779cbff5d86108b8099
Added to database: 05/12/2026, 01:50:49 UTC
Last enriched: 05/19/2026, 11:00:34 UTC
Last updated: 07/01/2026, 03:32:12 UTC
Views: 82
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.