# CVE-2026-40911: WWBN AVideo YPTSocket WebSocket Broadcast Relay Leads to Unauthenticated Cross-User JavaScript Execution via Client-Side eval() Sinks

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.66%, higher than 52% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-14T22:50:05.000Z
- Modified: 2026-10-26T22:10:00.163Z
- Also known as: GHSA-gph2-j4c9-vhhr
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- WWBN AVideo: <= 29.0; up to 29.0
- wwbn/avideo (Packagist): up to 29.0

## Every score

- GitHub_M: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://github.com/WWBN/AVideo/security/advisories/GHSA-gph2-j4c9-vhhr> (exploit, vendor-advisory, web)
- <https://github.com/WWBN/AVideo/commit/c08694bf6264eb4decceb78c711baee2609b4efd> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40911> (advisory)
- <https://github.com/WWBN/AVideo> (package)

## Sources

- CVE List: [CVE-2026-40911](https://www.cve.org/CVERecord?id=CVE-2026-40911), CVE Terms of Use, modified 2026-04-22
- GitHub Advisory Database: [GHSA-gph2-j4c9-vhhr](https://github.com/advisories/GHSA-gph2-j4c9-vhhr), CC-BY-4.0, modified 2026-05-05
- NVD: [CVE-2026-40911](https://nvd.nist.gov/vuln/detail/CVE-2026-40911), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-40911 · Whole record: https://cve.day/CVE-2026-40911.json · Rebuilt by cve.day 2026-11-25T22:59:19.190Z
