All vulnerabilities

Servers and applications

GHSA-qgvw-ffr4-rqp3

CSRF on plugin/PredefinedCategory/page/editorSave.php lets an attacker change plugin settings via a logged-in admin's browser

Severity
Medium 4.3
Published
2 Dec 2026
Last changed
2 Dec 2026
Added to UpHeron
2 Dec 2026
Weakness
Cross-site request forgery (CWE-352)
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

plugin/PredefinedCategory/page/editorSave.php is a plain .php endpoint that persists plugin settings from $_POST with no CSRF protection of any kind: no forbidIfIsUntrustedRequest(), no forbidIfNotPost(), no global-token check anywhere in the file or the plugin. It is admin-only (User::isAdmin()), but the session cookie is the sole authentication, and the site sets SameSite=None on HTTPS, so a plain cross-site form POST from an attacker's page executes in the victim admin's session. A single POST changes the default category for new uploads, the per-user category mapping, and the group add-video flags.

editorSave.php:1-33: :5-8 — only gate is User::isAdmin() (redirect otherwise); no CSRF check. :22-23 — $o->defaultCategory = $_POST['category_id'] (no intval/allowlist). :29-32 — Plugin::setObject_data(json_encode($o))->save() persists it. Plain .php, so autoCSRFGuard() (which runs only for *.json.php, objects/include_config.php:337-339) never runs.

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.9.0

About AVideo

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

From its GitHub repository.
GitHub stars
2,115GitHub, 29 Nov 2026
Forks
1,013GitHub, 29 Nov 2026
Latest release
v29.9.0GitHub, 29 Nov 2026
Released
23 Nov 2026GitHub
First published on GitHub
2 Apr 2017GitHub

References