Skip to content
OpenAdvisories
Medium · 5.4 CVE-2026-40929 EUVD-2026-24525GHSA-8qm8-g55h-xmqr

WWBN AVideo's missing CSRF protection in objects/commentDelete.json.php enables mass comment deletion against moderators and content creators

Published Apr 21, 2026 · Updated Apr 22, 2026 · Assigned by GitHub_M

Description

WWBN AVideo is an open source video platform. In versions 29.0 and prior, `objects/commentDelete.json.php` is a state-mutating JSON endpoint that deletes comments but performs no CSRF validation. It does not call `forbidIfIsUntrustedRequest()`, does not verify a CSRF/global token, and does not check `Origin`/`Referer`. Because AVideo intentionally sets `session.cookie_samesite=None` (to support cross-origin embed players), a cross-site request from any attacker-controlled page automatically carries the victim's `PHPSESSID`. Any authenticated victim who has authority to delete one or more comments (site moderators, video owners, and comment authors) can be tricked into deleting comments en masse simply by visiting an attacker page. Commit 184f36b1896f3364f864f17c1acca3dd8df3af27 contains a fix.

Affected products

VendorProductAffectedFixed
WWBN AVideo <= 29.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist wwbn/avideo <= 29.0 — GHSA-8qm8-g55h-xmqr

References