Executive Summary
CVE-2026-145030 documents a cross-site scripting (XSS) vulnerability in the YPTSocket plugin bundled with WWBN AVideo, the open-source video-sharing platform. The flaw stems from the WebSocket handler copying a value from a connection token into runtime state without validation, and from the token-minting endpoint accepting attacker-controlled URI input without authentication. The combined effect is that anonymous callers can plant HTML/script content that later fires inside an administrator's browser session when the affected presence panel is opened. The vulnerability affects AVideo 29.0 before 29.9.0 and was published in the NVD on 2026-12-04 with a base CVSS score of 4.3.
Root Cause
Two design weaknesses intersect in this advisory:
- The
getWebSocket.json.phpendpoint does not require authentication and accepts a parameter namedwebSocketSelfURIfrom callers, embedding that input directly into the issued connection token.
- When the YPTSocket plugin processes the token during WebSocket setup, it copies the supplied
selfURIfield into state that is later surfaced through the admin console's client-presence panels. The value is rendered as HTML without escaping, so any HTML or JavaScript contained in the string is interpreted by the browser.
The trust boundary is therefore crossed at the token-minting step: an unauthenticated client supplies taint, and the server preserves and re-renders it for administrative viewers.
Attack Flow
- An anonymous attacker requests a token from
getWebSocket.json.php, supplying a craftedwebSocketSelfURIvalue that contains HTML or JavaScript payload.
- The endpoint returns a token whose internal
selfURIfield reflects the attacker's input.
- The attacker opens a WebSocket connection using the token. YPTSocket registers the session and records the supplied URI.
- When an authenticated administrator views the client-presence panel, the unescaped URI is rendered in the admin browser, executing the embedded script in the context of the admin's session.
The actual execution step depends on an administrator opening the affected view; without that interaction, the planted payload remains dormant on the server. That requirement narrows the blast radius relative to XSS bugs that fire on routine page loads.
Affected Systems
- Product: WWBN AVideo
- Component: YPTSocket plugin (WebSocket handler and
getWebSocket.json.phptoken endpoint)
- Vulnerable versions: AVideo 29.0 up to but not including 29.9.0
- Reachability: Network-reachable (AV:N per the CVSS vector), no authentication required to mint a tainted token
- Trigger condition: An administrator must load a presence panel that contains the attacker-supplied URI for the injected content to execute
Real-World Risk
The supplied context does not include public exploit code, in-the-wild campaign data, or a CISA KEV listing. The technical-risk profile for the advisory is low, and the editorial assessment overall is low severity. The combination of an unauthenticated entry point and a dormant-payload dependency on administrator interaction places the practical impact below typical stored-XSS patterns, while the moderate CVSS base of 4.3 reflects standard network-reachable XSS scoring. Whether mass exploitation has occurred is unknown from the present sources.
Mitigation
- Upgrade: Move AVideo deployments to version 29.9.0 or later, the first build identified as outside the vulnerable range. Confirm the deployed build number before relying solely on the upstream fix, because patch status in specific downstream distributions is not confirmed in the supplied context.
- Network controls: Where immediate upgrade is not feasible, restrict network reachability of
getWebSocket.json.phpand the YPTSocket WebSocket endpoint to trusted administrative subnets using a reverse proxy or IP allow-list. The vulnerability is unauthenticated, so reducing internet exposure blunts opportunistic scanning.
- Feature reduction: Disable or remove the YPTSocket plugin where live presence and signaling are not mission-critical. This eliminates the attack surface at the cost of losing plugin functionality.
- Defense in depth: Apply a strict Content Security Policy to the AVideo administrative console. CSP does not replace the upstream fix but can prevent many injected scripts from executing.
- Detection: Monitor
getWebSocket.json.phprequests carrying unusual or HTML-bearingwebSocketSelfURIvalues, particularly from unauthenticated callers. Audit presence panels and admin audit logs for sessions showing suspicious HTML in their source URI field, which may indicate prior exploitation.
- Compromise response: If exploitation is suspected, rotate administrative credentials and active sessions, review the deployment for newly created admin accounts or modified content, and inspect any third-party JavaScript that admin-level execution could have loaded during the suspected window.