CVE-2026-40911 WWBN AVideo YPTSocket WebSocket Broadcast Relay Leads to Unauthenticated Cross-User JavaScript Execution via Client-Side eval() Sinks
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
- Technology
- PHP
Description
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| WWBN AVideo | <= 29.0; = <= 29.0 | after 29.0 | Fixed |
| WWBN AVideo(Packagist) | <= 29.0; = 10.4; = 10.8; = 11 +15 more | after 29.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| WWBN AVideo(Packagist) | <= 29.0 | No fix listed |
| WWBN AVideo(Packagist) | = 10.4 | No fix listed |
| WWBN AVideo(Packagist) | = 10.8 | No fix listed |
| WWBN AVideo(Packagist) | = 11 | No fix listed |
| WWBN AVideo(Packagist) | = 11.1 | No fix listed |
| WWBN AVideo(Packagist) | = 11.1.1 | No fix listed |
| WWBN AVideo(Packagist) | = 11.5 | No fix listed |
| WWBN AVideo(Packagist) | = 11.6 | No fix listed |
| WWBN AVideo(Packagist) | = 12.4 | No fix listed |
| WWBN AVideo(Packagist) | = 14.3 | No fix listed |
| WWBN AVideo(Packagist) | = 14.3.1 | No fix listed |
| WWBN AVideo(Packagist) | = 14.4 | No fix listed |
| WWBN AVideo(Packagist) | = 18.0 | No fix listed |
| WWBN AVideo(Packagist) | = 21.0 | No fix listed |
| WWBN AVideo(Packagist) | = 22.0 | No fix listed |
| WWBN AVideo(Packagist) | = 24.0 | No fix listed |
| WWBN AVideo(Packagist) | = 25.0 | No fix listed |
| WWBN AVideo(Packagist) | = 26.0 | No fix listed |
| WWBN AVideo(Packagist) | = 29.0 | No fix listed |
| WWBN AVideo | = <= 29.0 | No fix listed |
| WWBN AVideo | <= 29.0 | No fix listed |
References
- https://github.com/WWBN/AVideo/security/advisories/GHSA-gph2-j4c9-vhhr exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/WWBN/AVideo/commit/c08694bf6264eb4decceb78c711baee2609b4efd patch
- github.com product
- github.com