Arbitrary Code Injection Affecting wwbn/avideo package, versions >=0.0.0


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.65% (46th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-WWBNAVIDEO-16068859
  • published15 Apr 2026
  • disclosed14 Apr 2026
  • creditoffset

Introduced: 14 Apr 2026

CVE-2026-40911  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

wwbn/avideo is an Audio and Video Platform or simply "A Video Platform".

Affected versions of this package are vulnerable to Arbitrary Code Injection via the msg and callback fields in relayed WebSocket messages, which are processed by client-side eval() sinks. An attacker can execute arbitrary JavaScript code in the browsers of all connected users by sending specially crafted JSON payloads through the WebSocket server. This enables session theft, privilege escalation, and unauthorized actions within the context of affected users, including administrators.

CVSS Base Scores

version 4.0
version 3.1