CVE-2026-43874 WWBN AVideo: Incomplete Fix for YPTSocket autoEvalCodeOnHTML Strip: Unauthenticated Cross-User JavaScript Execution via `$msg['json']` Relay Bypass
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- PHP
Description
WWBN AVideo is an open source video platform. In versions up to and including 29.0, the server-side mitigation for the YPTSocket autoEvalCodeOnHTML eval sink (from CVE-2026-40911) only strips the payload when it sits under $json['msg'], but the relay function msgToResourceId() selects the outbound message from $msg['json'] before $msg['msg']. An unauthenticated attacker can obtain a WebSocket token from plugin/YPTSocket/getWebSocket.json.php, connect to the WebSocket server, and send a message with autoEvalCodeOnHTML nested under a top-level json field — the strip branch is skipped, the relay delivers the payload verbatim to any logged-in user identified by to_users_id, and the client script runs it through eval(). Commit 9f3006f9a89a34daa67a83c6ad35f450cb91fcce contains an updated fix.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| WWBN AVideo(Packagist) | <= 29.0; = 10.4; = 10.8; = 11 +15 more | after 29.0 | Fixed |
| WWBN AVideo | = <= 29.0 | No fix listed | Versions listed |
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 |
References
- https://github.com/WWBN/AVideo/security/advisories/GHSA-ghcv-22jf-vfxm exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/WWBN/AVideo/commit/9f3006f9a89a34daa67a83c6ad35f450cb91fcce patch
- github.com product
- github.com vendor-advisory
- github.com