All vulnerabilities

Servers and applications

GHSA-87w3-h5xx-x49x

YPTSocket broadcast lets unauthenticated callers inject HTML into admins' browsers

Severity
Medium 4.3
Published
19 Nov 2026
Last changed
19 Nov 2026
Added to UpHeron
19 Nov 2026
Weakness
Cross-site scripting (CWE-79)
Attack
Over the network · No login needed · Needs someone to click or open something
Attacker can
Change some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Sources
Project advisories (GitHub)

Description

AVideo's YPTSocket WebSocket handler validates the selfURI value only on the branch that is taken when a caller supplies webSocketSelfURI directly on the WebSocket connection URL; every genuine browser client, and an attacker who simply omits that one query parameter, instead falls through to an assignment that copies the value straight out of the connection token with no validation of any kind.

That lets any unauthenticated remote caller inject arbitrary HTML and attribute-breaking markup that gets broadcast to, and rendered unescaped inside, the client-presence panel every site administrator sees by default.

plugin/YPTSocket/MessageSQLiteV2.php (onOpen()), plugin/YPTSocket/functions.php (getEncryptedInfo()), plugin/YPTSocket/getWebSocket.json.php, plugin/YPTSocket/db.php (dbGetUniqueUsers()), plugin/YPTSocket/script.js (socketConnectOld(), fetchWebSocketToken(), updateSocketUserCard()), plugin/YPTSocket/footer.php and plugin/YPTSocket/YPTSocket.php (debug-panel default).

From WWBN/AVideo's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
AVideoServers and applications · github:wwbn/avideo
  • Every version up to 29.8.0

About AVideo

Create Your Own Broadcast Network With AVideo Platform Open-Source. OAVP OVP

From its GitHub repository.
GitHub stars
2,114GitHub, 15 Nov 2026
Forks
1,018GitHub, 15 Nov 2026
Latest release
v29.7.1GitHub, 15 Nov 2026
Released
9 Nov 2026GitHub
First published on GitHub
2 Apr 2017GitHub

References