Description
WWBN AVideo is an open source video platform. In versions up to and including 26.0, the Gallery plugin's `saveSort.json.php` endpoint passes unsanitized user input from `$_REQUEST['sections']` array values directly into PHP's `eval()` function. While the endpoint is gated behind `User::isAdmin()`, it has no CSRF token validation. Combined with AVideo's explicit `SameSite=None` session cookie configuration, an attacker can exploit this via cross-site request forgery to achieve unauthenticated remote code execution — requiring only that an admin visits an attacker-controlled page. Commit 087dab8841f8bdb54be184105ef19b47c5698fcb contains a patch.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| WWBN | AVideo | <= 26.0 |
References
- https://github.com/WWBN/AVideo/commit/087dab8841f8bdb54be184105ef19b47c5698fcbPatch
- https://github.com/WWBN/AVideo/security/advisories/GHSA-xggw-g9pm-9qhhExploit, Mitigation, Vendor Advisory
- https://github.com/WWBN/AVideo/security/advisories/GHSA-xggw-g9pm-9qhhExploit, Mitigation, Vendor Advisory
Timeline
- Published
- Mar 23, 2026
- Last modified
- Jun 17, 2026
- NVD status
- Analyzed