AvideoApplication · Wwbn

CVE-2026-40911

CRITICAL · 10.0 CVSS v3.1 Published 2026-04-21
Fix available
A fix is available. Upgrade to after 29.0 or later.
See remediation →
100/100
Remediation priority · Urgent
Public exploit Remotely reachable No privileges Zero-click Patch available

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
WWBN AVideo is an open source video platform. In versions 29.0 and prior, the YPTSocket plugin's WebSocket server relays attacker-supplied JSON message bodies to every connected client without sanitizing the `msg` or `callback` fields. On the client side, `plugin/YPTSocket/script.js` contains two `eval()` sinks fed directly by those relayed fields (`json.msg.autoEvalCodeOnHTML` at line 568 and `json.callback` at line 95). Because tokens are minted for anonymous visitors and never revalidated beyond decryption, an unauthenticated attacker can broadcast arbitrary JavaScript that executes in the origin of every currently-connected user (including administrators), resulting in universal account takeover, session theft, and privileged action execution. Commit c08694bf6264eb4decceb78c711baee2609b4efd contains a fix.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

The YPTSocket plugin in AVideo versions 29.0 and prior contains a critical vulnerability where its WebSocket server relays unsanitized attacker-controlled JSON data (specifically the `msg` and `callback` fields) to all connected clients. Two `eval()` sinks in the client-side script.js (lines 95 and 568) execute code from these relayed fields without validation, allowing unauthenticated attackers to inject arbitrary JavaScript that executes in every connected user's browser origin.

MitigationUpgrade AVideo to a version containing commit c08694bf6264eb4decceb78c711baee2609b4efd or disable the YPTSocket plugin until patching is possible.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
AvideoApplication
Affected:<= 29.0

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify AVideo installation and version
    Check your web server for AVideo by looking for the main index.php file and examine the version number in the software documentation or version file (often in a version.php or similar file in the root directory)
    Affected if The installed AVideo version is 29.0 or any version prior to 29.0
  2. Locate and verify the YPTSocket plugin
    Check the plugin directory (typically /plugin/YPTSocket/) in your AVideo installation to see if the YPTSocket plugin directory exists and contains plugin files
    Affected if The YPTSocket plugin is present in the plugins directory
  3. Verify if YPTSocket is enabled
    Check the AVideo database or plugin configuration file for the YPTSocket plugin status - look for enable/disable settings in the plugin configuration or database table
    Affected if The YPTSocket plugin is enabled in the AVideo configuration
  4. Identify if WebSocket server is running
    Check if the YPTSocket WebSocket server process is running - look for the YPTSocket server listening on its configured port (check plugin configuration for port number)
    Affected if The YPTSocket WebSocket server is active and accepting connections
  5. Inspect script.js for vulnerable eval() calls
    Locate the client-side script.js file in the YPTSocket plugin directory (or loaded by it) and examine lines around 95 and 568 for eval() calls that process WebSocket message data without sanitization
    Affected if The script.js file contains eval() statements that execute data from WebSocket msg or callback fields without validation

A user is affected if running AVideo version 29.0 or earlier with the YPTSocket plugin enabled and its WebSocket server active, where the client-side script.js contains unsanitized eval() calls on WebSocket message data.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to a release after 29.0
Vendor patch github.com →
Interim mitigation

Upgrade AVideo to a version containing commit c08694bf6264eb4decceb78c711baee2609b4efd or disable the YPTSocket plugin until patching is possible.

Recommended fix High confidence

AVideo version 29.1 or later (commit after c08694bf6264eb4decceb78c711baee2609b4efd)

  1. 1. Identify the AVideo installation directory on the server
  2. 2. Navigate to the GitHub repository for AVideo (github.com/WWBN/AVideo)
  3. 3. Check the commit c08694bf6264eb4decceb78c711baee2609b4efd to identify the fixed version
  4. 4. Backup the current AVideo installation and database before upgrading
  5. 5. Upgrade AVideo to the version containing the fix (version 29.1 or later, or the commit after c08694bf)
  6. 6. Verify the YPTSocket plugin has been updated by checking plugin/YPTSocket/script.js no longer contains eval() calls on lines 95 and 568
  7. 7. Restart any relevant services if required
  8. 8. Test WebSocket functionality to ensure the platform still operates correctly
Caveat Upgrade should be straightforward but always test in a staging environment first as with any platform upgrade

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Avideo Scoped from the published advisory
  • Consultation3.0 h
  • Implementation4.0 h
  • Testing3.0 h
  • Review / QA2.0 h
12.0 hours of engineering $2,130
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,408.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-40911 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-40911 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data