IA Squad
PT
php · wwbn/avideoCritical

wwbn/avideo: Stored XSS via WebSocket message json key bypass

Stored XSS vulnerability in AVideo's WebSocket messaging system: MessageSQLite.

09 Jun 2026Read 1 minSeverity: act now

What changed

Stored XSS vulnerability in AVideo's WebSocket messaging system: MessageSQLite.php sanitizes $json['msg'] but msgToResourceId() reads from $msg['json'] with higher priority, allowing payloads in the json key to bypass sanitization.

Who it affects

All AVideo instances using the default SQLite WebSocket backend (plugin/YPTSocket/MessageSQLite.php). Any authenticated attacker can execute arbitrary JavaScript in any connected user's browser session.

What to do today

Replace the shallow unset in MessageSQLite.php with a call to removeAutoEvalCodeOnHTMLRecursive($json), consistent with Message.php and MessageSQLiteV2.php.

The trail
Collected Audited Written Published