# CVE-2026-50182: AVideo Has Unauthenticated Reflected XSS via $_GET['search'] in YouTubeAPI Gallery Pagination

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 14% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-04T18:55:58.000Z
- Modified: 2026-10-24T21:10:00.130Z
- Also known as: GHSA-hgjh-6wj8-gcgf
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- WWBN AVideo: <= 29.0
- WWBN/AVideo (Packagist): up to 29.0

## Every score

- GitHub_M: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/WWBN/AVideo/security/advisories/GHSA-hgjh-6wj8-gcgf> (exploit, web)
- <https://github.com/WWBN/AVideo/commit/f50fc033b7adb36f1ffd6640e7826468bdafdec3> (web)
- <https://github.com/WWBN/AVideo> (package)

## Sources

- CVE List: [CVE-2026-50182](https://www.cve.org/CVERecord?id=CVE-2026-50182), CVE Terms of Use, modified 2026-07-17
- GitHub Advisory Database: [GHSA-hgjh-6wj8-gcgf](https://github.com/advisories/GHSA-hgjh-6wj8-gcgf), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-50182](https://nvd.nist.gov/vuln/detail/CVE-2026-50182), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-50182 · Whole record: https://cve.day/CVE-2026-50182.json · Rebuilt by cve.day 2026-11-25T22:59:28.357Z
