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
- 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.
Affected software
| Software | Affected versions |
|---|---|
AVideoServers and applications · github:wwbn/avideo |
|
About AVideo
Create Your Own Broadcast Network With AVideo Platform Open-Source. OAVP OVP
- 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
Vulnerabilities in AVideo
- In our list
- 277
- Published in the last 12 months
- 224
- Critical, last 12 months
- 23
- High, last 12 months
- 74
- Known exploited
- 0
- GHSA-4mrv-gh93-hp2hAnonymous disclosure of video-owner email and account fields via program, video_from_program and comment API endpointsMedium 5.3 2 Dec 2026
- GHSA-63r9-79gw-7r9mLive "Send Viewers" / auto-redirect broadcasts the streamer's live password, e-mail, phone, home address and birth date to every connected socket client, including anonymous visitorsMedium 6.5 2 Dec 2026
- GHSA-jxh2-j9xc-6w68`plugin/Live/latestOrLive.php` gives anonymous visitors the stream of "Logged Users Only" LiveLinks (LiveLinks fallback skips the `logged_only` check)Medium 5.3 2 Dec 2026
- GHSA-fv8g-qf36-h66wMissing authorization: APIName=program&videos_id= discloses private playlist contentsMedium 5.3 1 Dec 2026
- GHSA-g3p9-f8wp-3wj4YPTSocket: expired admin WebSocket tokens still accepted because the localhost exception in verifyTokenSocket() always matches under CLILow 2.7 1 Dec 2026
- CVE-2026-140349WWBN AVideo before 29.8.0 Information Disclosure via Video API Category ListingMedium 6.9 1 Dec 2026
References
- GitHub Advisory Database https://github.com/advisories/GHSA-qgvw-ffr4-rqp3
- github.com https://github.com/WWBN/AVideo/security/advisories/GHSA-qgvw-ffr4-rqp3