Skip to content
Heist/ feed
Back to feed
High

AVideo has CORS Origin Reflection Bypass via plugin/API/router.php and allowOrigin(true) that Exposes Authenticated API Responses

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-41057
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 18:02 UTC · Revision 1

Source evidence

AVideo has CORS Origin Reflection Bypass via plugin/API/router.php and allowOrigin(true) that Exposes Authenticated API Responses

core-osv · Original source

Published 21 Apr 2026, 22:37 UTC

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.

osv:CVE-2026-41057
Complete source record
{
  "id": "05e71b75b55c89e5465e39cceaeb8dd95e5e4d25a85d73fd8f8e83edb138d19c",
  "url": "https://osv.dev/vulnerability/CVE-2026-41057",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "AVideo has CORS Origin Reflection Bypass via plugin/API/router.php and allowOrigin(true) that Exposes Authenticated API Responses",
    "summary": "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.",
    "evidence": "osv:CVE-2026-41057",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-41057",
      "aliases": [
        "CVE-2026-41057",
        "GHSA-ff5q-cc22-fgp4"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/wwbn/avideo",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5e2b897ccac61eb6daca2dee4a6be3c4c2d93e13"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:wwbn:avideo:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "29.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "5e2b897ccac61eb6daca2dee4a6be3c4c2d93e13"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "29.0",
            "26.0",
            "25.0",
            "24.0",
            "22.0",
            "21.0",
            "18.0",
            "14.3.1",
            "14.3",
            "12.4",
            "11.6",
            "11.5",
            "11.1.1",
            "11.1",
            "11",
            "10.8",
            "8.9.1",
            "8.9",
            "8.7",
            "8.6",
            "8.5",
            "8.1",
            "7.8",
            "7.7",
            "7.6",
            "7.4",
            "7.3",
            "7.2",
            "4.0",
            "3.4",
            "2.7",
            "2.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-41057.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:22.022929619Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41057.json",
        "https://github.com/WWBN/AVideo/security/advisories/GHSA-ff5q-cc22-fgp4",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-41057",
        "https://github.com/WWBN/AVideo/commit/5e2b897ccac61eb6daca2dee4a6be3c4c2d93e13"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-346"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41057.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-41057",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 488054,
  "published_at": "2026-04-21T22:37:15.582+00:00"
}