CVE-2026-40911: CWE-94: Improper Control of Generation of Code ('Code Injection') in WWBN AVideo
CVE-2026-40911 is a critical code injection vulnerability in WWBN AVideo versions 29. 0 and earlier. The YPTSocket plugin's WebSocket server relays attacker-controlled JSON message fields without sanitization, which are then executed via eval() calls on connected clients. This allows an unauthenticated attacker to execute arbitrary JavaScript in the context of all connected users, including administrators, potentially leading to universal account takeover, session theft, and execution of privileged actions. A fix is available in commit c08694bf6264eb4decceb78c711baee2609b4efd.
AI Analysis
Technical Summary
WWBN AVideo (<=29.0) contains a critical CWE-94 code injection vulnerability in the YPTSocket plugin. The WebSocket server forwards attacker-supplied JSON message bodies to all connected clients without sanitizing the 'msg' or 'callback' fields. On the client side, these fields are passed directly to eval() calls in plugin/YPTSocket/script.js, enabling execution of arbitrary JavaScript. Because tokens for anonymous visitors are minted and not revalidated beyond decryption, unauthenticated attackers can broadcast malicious scripts to all connected users, including administrators. This can result in universal account takeover, session theft, and privileged action execution. The vulnerability is tracked as CVE-2026-40911 with a CVSS 3.1 score of 10.0 (critical). A code fix is committed in c08694bf6264eb4decceb78c711baee2609b4efd.
Potential Impact
An unauthenticated attacker can execute arbitrary JavaScript in the browser context of every connected user, including administrators. This can lead to universal account takeover, session theft, and execution of privileged actions within the AVideo platform. The vulnerability has a CVSS score of 10.0, indicating critical impact on confidentiality, integrity, and availability.
Mitigation Recommendations
A fix for this vulnerability is available in commit c08694bf6264eb4decceb78c711baee2609b4efd. Users of WWBN AVideo version 29.0 and earlier should apply this patch or upgrade to a version containing this fix. Since no official vendor advisory or patch link is provided, users should verify the fix by reviewing the referenced commit in the project's repository. Until patched, the platform remains vulnerable to unauthenticated code injection attacks via the YPTSocket plugin.
CVE-2026-40911: CWE-94: Improper Control of Generation of Code ('Code Injection') in WWBN AVideo
Description
CVE-2026-40911 is a critical code injection vulnerability in WWBN AVideo versions 29. 0 and earlier. The YPTSocket plugin's WebSocket server relays attacker-controlled JSON message fields without sanitization, which are then executed via eval() calls on connected clients. This allows an unauthenticated attacker to execute arbitrary JavaScript in the context of all connected users, including administrators, potentially leading to universal account takeover, session theft, and execution of privileged actions. A fix is available in commit c08694bf6264eb4decceb78c711baee2609b4efd.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
WWBN AVideo (<=29.0) contains a critical CWE-94 code injection vulnerability in the YPTSocket plugin. The WebSocket server forwards attacker-supplied JSON message bodies to all connected clients without sanitizing the 'msg' or 'callback' fields. On the client side, these fields are passed directly to eval() calls in plugin/YPTSocket/script.js, enabling execution of arbitrary JavaScript. Because tokens for anonymous visitors are minted and not revalidated beyond decryption, unauthenticated attackers can broadcast malicious scripts to all connected users, including administrators. This can result in universal account takeover, session theft, and privileged action execution. The vulnerability is tracked as CVE-2026-40911 with a CVSS 3.1 score of 10.0 (critical). A code fix is committed in c08694bf6264eb4decceb78c711baee2609b4efd.
Potential Impact
An unauthenticated attacker can execute arbitrary JavaScript in the browser context of every connected user, including administrators. This can lead to universal account takeover, session theft, and execution of privileged actions within the AVideo platform. The vulnerability has a CVSS score of 10.0, indicating critical impact on confidentiality, integrity, and availability.
Mitigation Recommendations
A fix for this vulnerability is available in commit c08694bf6264eb4decceb78c711baee2609b4efd. Users of WWBN AVideo version 29.0 and earlier should apply this patch or upgrade to a version containing this fix. Since no official vendor advisory or patch link is provided, users should verify the fix by reviewing the referenced commit in the project's repository. Until patched, the platform remains vulnerable to unauthenticated code injection attacks via the YPTSocket plugin.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-15T16:37:22.768Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e85dc119fe3cd2cd7080ae
Added to database: 4/22/2026, 5:33:53 AM
Last enriched: 4/22/2026, 5:35:20 AM
Last updated: 4/22/2026, 9:21:28 AM
Views: 7
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.