WWBN AVideo
CVE-2026-41057
HIGH
Severity by source
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
Remote, low-complexity CORS reflection needs no attacker auth (PR:N) but a logged-in victim must visit a malicious page (UI:R); high PII disclosure (C:H), limited cross-origin writes via set.json.php (I:L), no availability impact.
Primary rating from GitHub Advisory.
CVSS VectorGitHub Advisory
Lifecycle Timeline
3DescriptionGitHub Advisory
WWBN AVideo is an open source video platform. In versions 29.0 and below, the CORS origin validation fix in commit 986e64aad is incomplete. Two separate code paths still reflect arbitrary Origin headers with credentials allowed for all /api/* endpoints: (1) plugin/API/router.php lines 4-8 unconditionally reflect any origin before application code runs, and (2) allowOrigin(true) called by get.json.php and set.json.php reflects any origin with Access-Control-Allow-Credentials: true. An attacker can make cross-origin credentialed requests to any API endpoint and read authenticated responses containing user PII, email, admin status, and session-sensitive data. Commit 5e2b897ccac61eb6daca2dee4a6be3c4c2d93e13 contains a fix.
AnalysisAI
Cross-origin data exposure in WWBN AVideo 29.0 and earlier lets a malicious website read authenticated /api/* responses because an incomplete CORS fix still reflects arbitrary Origin headers with Access-Control-Allow-Credentials: true. Any logged-in user who visits an attacker-controlled page can have their session-authenticated API responses - containing email, admin status, user ID, and other PII - read cross-origin. Publicly available exploit code exists (SSVC: poc) and the issue is confirmed via GitHub Security Advisory GHSA-ff5q-cc22-fgp4, though EPSS is very low (0.01%) and it is not in CISA KEV.
Technical ContextAI
AVideo is a PHP-based open-source video streaming/hosting platform (cpe:2.3:a:wwbn:avideo). The flaw is a CWE-346 Origin Validation Error in its CORS implementation. Browsers enforce the same-origin policy, but servers can opt into cross-origin sharing via Access-Control-Allow-Origin; reflecting the caller's Origin verbatim while also sending Access-Control-Allow-Credentials: true effectively disables that protection, allowing any site to make credentialed (cookie-bearing) requests and read the responses. Two code paths are affected: plugin/API/router.php (lines 4-8) unconditionally reflects any Origin/Referer before application logic runs and short-circuits OPTIONS preflights, and objects/functions.php allowOrigin(true) - invoked by get.json.php and set.json.php - reflects the origin with credentials on the $allowAll code path that the prior fix (commit 986e64aad) never touched. Because session cookies ride along, User::isLogged() returns true and sensitive fields that are normally stripped for anonymous callers are returned.
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed - apply the changes from commit https://github.com/WWBN/AVideo/commit/5e2b897ccac61eb6daca2dee4a6be3c4c2d93e13, which returns Access-Control-Allow-Origin: * without credentials for OPTIONS preflights and hardens the allowOrigin(true) path so credentials are only granted to same-origin requests, per advisory https://github.com/WWBN/AVideo/security/advisories/GHSA-ff5q-cc22-fgp4. Because no tagged release is confirmed, track the vendor for a versioned build or deploy the patched source directly. As compensating controls until patched: at a reverse proxy or WAF, strip or overwrite the Access-Control-Allow-Origin and Access-Control-Allow-Credentials response headers on /api/* so arbitrary origins are not reflected (side effect: legitimate browser-based cross-origin API integrations will break and must be explicitly allowlisted); alternatively restrict /api/* to trusted networks or require the non-credentialed APISecret flow for external clients (side effect: cookie-session-based front-end API calls from other origins stop working). Advising users to log out of admin sessions when browsing untrusted sites reduces exposure but is not a reliable control.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
Same weakness CWE-346 – Origin Validation Error
View allSame technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today
GHSA-ff5q-cc22-fgp4