{
  "id": "CVE-2026-40911",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-40911",
  "published_at": "2026-04-21T19:55:37.195Z",
  "title": "WWBN AVideo YPTSocket WebSocket Broadcast Relay Leads to Unauthenticated Cross-User JavaScript Execution via Client-Side eval() Sinks",
  "vendor": "WWBN",
  "product": "AVideo",
  "cvss": {
    "score": 10,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-94",
  "cpes": [
    "cpe:2.3:a:wwbn:avideo:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 10
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "WWBN",
        "product": "AVideo",
        "ranges": [
          "\u003c= 29.0"
        ],
        "fixed_in": null
      },
      {
        "vendor": "",
        "product": "wwbn/avideo",
        "ranges": [
          "\u003c= 29.0"
        ],
        "fixed_in": null,
        "ecosystem": "Packagist",
        "advisory": "GHSA-gph2-j4c9-vhhr"
      }
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/WWBN/AVideo/security/advisories/GHSA-gph2-j4c9-vhhr"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/WWBN/AVideo/commit/c08694bf6264eb4decceb78c711baee2609b4efd"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
