Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-40911: CWE-94: Improper Control of Generation of Code ('Code Injection') in WWBN AVideo

0
Critical
VulnerabilityCVE-2026-40911cvecve-2026-40911cwe-94
Published: Tue Apr 21 2026 (04/21/2026, 19:55:37 UTC)
Source: CVE Database V5
Vendor/Project: WWBN
Product: 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

AILast updated: 04/22/2026, 05:35:20 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses