Description
WWBN AVideo is an open source video platform. Versions prior to 29.0 contain an unauthenticated Reflected XSS vulnerability through AVideo YouTubeAPI Gallery Pagination. The $_GET['search'] query parameter is concatenated directly into the href attribute of two pagination links in plugin/YouTubeAPI/gallerySection.php (lines 67 and 74) with no htmlspecialchars, no urlencode, and no allow-list check. An injected <script> element is then extracted by the AVideo Layout plugin and concatenated into a single trailing inline script block at the bottom of the page, where the browser executes it. Any unauthenticated attacker can lure a victim into following a crafted URL to execute arbitrary JavaScript under the AVideo origin, which can read non-HttpOnly cookies and issue authenticated AJAX requests as the victim, and when the victim is an administrator, it can perform any cookie-authenticated admin action (create user, promote to admin, change configuration, install plugin), escalating a single click into full administrative takeover. This issue has been patched by this commit: https://github.com/WWBN/AVideo/commit/f50fc033b7adb36f1ffd6640e7826468bdafdec3.
Published: 2026-07-15
Score: 6.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability arises from an unauthenticated Reflected XSS flaw in the YouTubeAPI Gallery Pagination of WWBN AVideo. An attacker can supply a malicious payload in the $_GET['search'] parameter. The value is concatenated unescaped into the href attribute of pagination links in plugin/YouTubeAPI/gallerySection.php, which are then rendered by the AVideo Layout plugin into a single inline script block at the page bottom. Consequently, a crafted URL can cause the browser to execute arbitrary JavaScript in the context of the site. The vulnerability specifically results from concatenating the search parameter directly into two pagination link href attributes on lines 67 and 74 without any htmlspecialchars, urlencode, or allow‑list check, and a subsequent extraction of injected <script> elements by the layout plugin into a single trailing inline script block. The payload can read non‑HttpOnly cookies and make authenticated AJAX requests; if the victim is an administrator, the attacker can perform any cookie‑authenticated admin action—creating users, promoting to admin, changing configuration, installing plugins—leading to full administrative takeover.

Affected Systems

WWBN AVideo, versions before 29.0, which include the YouTubeAPI gallery pagination component.

Risk and Exploitability

The CVSS base score of 6.1 indicates moderate impact, while the EPSS score of less than 1% suggests a very low probability of exploitation in the wild; the vulnerability is not listed in CISA’s KEV catalog. Nonetheless, the flaw is client‑side and requires only a crafted link, allowing any unauthenticated user to trigger it. Attackers can lure a victim, including administrators, to click a URL containing a malicious <script> within the search query. Once executed, the script can read the site’s non‑HttpOnly cookies, perform authenticated actions, and if the victim has administrative rights, assume full control of the platform.

Generated by OpenCVE AI on July 31, 2026 at 02:41 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the patch commit supplied by WWBN, which sanitizes the search parameter.
  • Upgrade to AVideo 29.0 or newer.
  • As a temporary workaround, validate or encode the search GET parameter or block requests containing script tags until a patch is available.

Generated by OpenCVE AI on July 31, 2026 at 02:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-hgjh-6wj8-gcgf WWBN AVideo: Unauthenticated Reflected XSS via $_GET['search'] in AVideo YouTubeAPI Gallery Pagination
History

Fri, 17 Jul 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 15 Jul 2026 23:30:00 +0000

Type Values Removed Values Added
First Time appeared Wwbn
Wwbn avideo
Vendors & Products Wwbn
Wwbn avideo

Wed, 15 Jul 2026 21:30:00 +0000

Type Values Removed Values Added
Description WWBN AVideo is an open source video platform. Versions prior to 29.0 contain an unauthenticated Reflected XSS vulnerability through AVideo YouTubeAPI Gallery Pagination. The $_GET['search'] query parameter is concatenated directly into the href attribute of two pagination links in plugin/YouTubeAPI/gallerySection.php (lines 67 and 74) with no htmlspecialchars, no urlencode, and no allow-list check. An injected <script> element is then extracted by the AVideo Layout plugin and concatenated into a single trailing inline script block at the bottom of the page, where the browser executes it. Any unauthenticated attacker can lure a victim into following a crafted URL to execute arbitrary JavaScript under the AVideo origin, which can read non-HttpOnly cookies and issue authenticated AJAX requests as the victim, and when the victim is an administrator, it can perform any cookie-authenticated admin action (create user, promote to admin, change configuration, install plugin), escalating a single click into full administrative takeover. This issue has been patched by this commit: https://github.com/WWBN/AVideo/commit/f50fc033b7adb36f1ffd6640e7826468bdafdec3.
Title AVideo Has Unauthenticated Reflected XSS via $_GET['search'] in YouTubeAPI Gallery Pagination
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-17T12:34:49.289Z

Reserved: 2026-06-03T22:05:13.644Z

Link: CVE-2026-50182

cve-icon Vulnrichment

Updated: 2026-07-17T12:34:33.213Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T02:45:04Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')