Skip to main content

WWBN AVideo CVE-2026-40929

MEDIUM
Cross-Site Request Forgery (CSRF) (CWE-352)
2026-04-21 security-advisories@github.com
5.4
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker enumerates comment IDs on target platform
  2. Delivery
    Crafts malicious page with auto-submitting cross-origin requests
  3. Exploit
    Social-engineers authenticated moderator or content creator to visit page
  4. Execution
    Browser sends SameSite=None PHPSESSID cookie with each cross-origin POST
  5. Persist
    commentDelete.json.php authenticates request via session
  6. Impact
    Comments deleted without victim awareness

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Anti-CSRF tokens, SameSite cookies
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Three conditions must simultaneously hold: (1) The victim must be authenticated to the AVideo instance with comment deletion authority - specifically as a site moderator (Permissions::canAdminComment() returns true), a video owner (owns the video the comment is on), or the original comment author. Anonymous visitors cannot be targeted. (2) AVideo must have session.cookie_samesite=None set in its session configuration, which the platform documentation describes as an intentional default to support cross-origin embed players - non-default hardened deployments that override this to Lax or Strict are not exploitable via standard browser CSRF. (3) The victim must actively visit an attacker-controlled web page or resource (UI:R) while their session is active. Exploitation is limited to deleting only comments the victim has authority to remove - an attacker cannot use a moderator's session to delete comments outside that moderator's permission scope.

Impact

The CVSS 5.4 Medium score (AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L) accurately reflects that the attacker requires no credentials but the attack depends on a privileged victim visiting an attacker-controlled page. The SameSite=None platform default, however, raises practical exploitability above what the raw score suggests: in most CSRF scenarios, SameSite=Lax or Strict cookies are the primary mitigation, but that defense is explicitly absent here. EPSS of 0.01% (3rd percentile) indicates very low likelihood of broad automated exploitation, consistent with SSVC's 'Automatable: no' - each attack must target a specific authenticated user. SSVC 'Technical Impact: partial' aligns with the limited blast radius (only comments the victim has authority to delete are affected). No KEV listing confirms no confirmed mass exploitation at time of analysis. The principal real-world risk is targeted content sabotage against community managers, moderators, or content creators rather than opportunistic mass exploitation.

Exploit ScenarioDerived

An attacker identifies a site moderator's username and crafts a page containing a hidden HTML form that auto-submits POST requests to https://target-avideo-instance.com/objects/commentDelete.json.php with sequential or enumerated comment IDs. When the moderator visits the attacker's page while authenticated, their browser automatically attaches the PHPSESSID cookie (which is SameSite=None) to each cross-origin request, causing the server to authenticate and execute each deletion. Publicly available exploit code exists per SSVC data, lowering the barrier to execution of this scenario.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 24, 2026

Cross-site request forgery in WWBN AVideo 29.0 and prior allows an unauthenticated attacker to trigger mass comment deletion on behalf of any authenticated victim (moderator, video owner, or comment author) who visits a malicious page. The attack is critically amplified by AVideo's deliberate platform setting of session.cookie_samesite=None, which strips the browser's native CSRF defense and guarantees the victim's session cookie travels with every cross-origin request. Publicly available exploit code exists per SSVC data; the vulnerability is not listed in CISA KEV at time of analysis.

RemediationAI

The upstream fix is available in commit 184f36b1896f3364f864f17c1acca3dd8df3af27 (https://github.com/WWBN/AVideo/commit/184f36b1896f3364f864f17c1acca3dd8df3af27), which adds forbidIfIsUntrustedRequest('commentDelete') directly to the vulnerable endpoint and introduces a broad autoCSRFGuard() function in functionsSecurity.php that automatically protects all POST requests to *.json.php endpoints. No formally tagged patched release version has been identified in package metadata (composer shows 'fixed in: None'), so operators should apply the patch commit directly or track the upstream repository for a tagged release. As a compensating control prior to patching, operators can set session.cookie_samesite=Lax or Strict in the PHP session configuration - note this will break cross-origin embed player functionality, which is the trade-off that drove the original SameSite=None design. Alternatively, operators can restrict access to commentDelete.json.php at the web server layer to same-origin requests by validating the Origin or Referer header in an nginx/Apache rewrite rule, though this requires careful testing against legitimate player integrations.

Affected Packages

composer wwbn/avideo no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in composer

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerable endpoint is objects/commentDelete.json.php (CPE: cpe:2.3:a:wwbn:avideo:*:*:*:*:*:*:*:*), a PHP JSON API that performs a destructive SQL DELETE via Comment::delete() without any CSRF guard - no forbidIfIsUntrustedRequest() call, no token/nonce parameter, and no Origin or Referer validation. Root cause is CWE-352 (Cross-Site Request Forgery). The vulnerability is compounded by an intentional platform decision to set session.cookie_samesite=None to support cross-origin embed players; this means browser SameSite protections, which would otherwise block most CSRF attacks in modern browsers, are fully bypassed by design. The endpoint reads its target ID from $_REQUEST, accepting both GET and POST, making exploitation possible via an HTML <img src> tag (GET) or an auto-submitting form or fetch() call (POST).

Know when Avideo gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 5.4 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
vuln.today AI 5.4 MEDIUM

Attacker needs no credentials (PR:N); victim must actively visit attacker page (UI:R); SameSite=None default makes cross-origin cookie delivery trivially reliable (AC:L); impact limited to comment deletion (I:L, A:L, C:N).

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
Low

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 97% exploitable
Prevalence
Low
open source niche self-hosted video platform, limited enterprise footprint
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS Vulnrichment GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +27
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

Affected Products (CPE)CVE.org

cpe:2.3:a:wwbn:avideo:*:*:*:*:*:*:*:*

More in Avideo

View all
CVE-2023-48728 CRITICAL POC
9.6 Jan 10

A cross-site scripting (xss) vulnerability exists in the functiongetOpenGraph videoName functionality of WWBN AVideo 11.

CVE-2024-31819 CRITICAL POC
9.8 Apr 10

An issue in WWBN AVideo v.12.4 through v.14.2 allows a remote attacker to execute arbitrary code via the systemRootPath

CVE-2022-30547 CRITICAL POC
9.9 Aug 22

A directory traversal vulnerability exists in the unzipDirectory functionality of WWBN AVideo 11.6 and dev master commit

CVE-2023-49599 CRITICAL POC
9.8 Jan 10

An insufficient entropy vulnerability exists in the salt generation functionality of WWBN AVideo dev master commit 15fed

CVE-2026-28501 CRITICAL POC
9.8 Mar 06

Unauthenticated SQL injection in AVideo before 24.0.

CVE-2023-25313 CRITICAL POC
9.8 Apr 25

OS injection vulnerability in World Wide Broadcast Network AVideo version before 12.4, allows attackers to execute arbit

CVE-2022-26842 CRITICAL POC
9.6 Aug 22

A reflected cross-site scripting (xss) vulnerability exists in the charts tab selection functionality of WWBN AVideo 11.

CVE-2023-47861 CRITICAL POC
9.0 Jan 10

A cross-site scripting (xss) vulnerability exists in the channelBody.php user name functionality of WWBN AVideo 11.6 and

CVE-2022-28712 CRITICAL POC
9.0 Aug 22

A cross-site scripting (xss) vulnerability exists in the videoAddNew functionality of WWBN AVideo 11.6 and dev master co

CVE-2023-49589 HIGH POC
8.8 Jan 10

An insufficient entropy vulnerability exists in the userRecoverPass.php recoverPass generation functionality of WWBN AVi

CVE-2023-32073 HIGH POC
8.8 May 12

WWBN AVideo is an open source video platform. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable

CVE-2023-30854 HIGH POC
8.8 Apr 28

AVideo is an open source video platform. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, low

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy