# CVE-2026-40911

> Vulnerability · severity: **CRITICAL** (CVSS 10).

## 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.

## Key facts

- **CVE ID:** CVE-2026-40911
- **Published:** 2026-04-21
- **CVSS severity:** CRITICAL
- **CVSS base score:** 10
- **CWE codes:** CWE-94

## Affected products

- `wwbn:avideo`

## Primary sources

- NIST NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-40911

## Citation

> AI Analytics. CVE-2026-40911. Retrieved 2026-07-20 from https://api.ai-analytics.org/cve/CVE-2026-40911. Derived from NIST NVD. Licensed CC0.

---

*[Dataset catalog](https://api.ai-analytics.org/datasets/) · [AI Analytics](https://api.ai-analytics.org/) · CC0 1.0*