# CVE-2026-50182: WWBN AVideo reflected XSS in YouTubeAPI gallery pagination

Source: https://junglewise.ai/threats/cve-2026-50182-wwbn-avideo-reflected-xss-in-youtubeapi-gallery-pagination  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-15. Updated: 2026-07-15  
License: CC BY 4.0 with a link back

CVE-2026-50182 · Severity: medium · CVSS 6.1 · Published 2026-07-15

WWBN AVideo, an open-source video sharing platform, is vulnerable to a security flaw where malicious code can be injected into the website via a specially crafted link. If a user, particularly an administrator, clicks on this link, an attacker could take control of their session. This could lead to unauthorized actions such as creating new users, changing site configurations, or a full administrative takeover of the video platform.

Technologies: [wwbn/avideo (Packagist)](https://junglewise.ai/threats/technologies/wwbn-avideo), [WWBN AVideo](https://junglewise.ai/threats/technologies/avideo). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist), [WWBN](https://junglewise.ai/threats/vendors/wwbn).

## Quick answers

**Is CVE-2026-50182 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-50182 being exploited in the wild.

**How severe is CVE-2026-50182?** Medium severity, with a CVSS score of 6.1, published 15 July 2026.

**Which products and versions are affected?** wwbn/avideo (Packagist) <= 29.0, ECOSYSTEM:introduced=0,last_affected=29.0; WWBN AVideo < 29.0, <= 29.0.

**Is there a fix for CVE-2026-50182?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-50182 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-50182?** Check whether you run wwbn/avideo (Packagist) or WWBN AVideo at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A reflected cross-site scripting (XSS) vulnerability exists in WWBN AVideo versions prior to 29.0. The vulnerability is located in `plugin/YouTubeAPI/gallerySection.php`, where the `search` GET parameter is concatenated directly into the `href` attribute of pagination links without proper sanitization or encoding. An attacker can inject a `<script>` tag which is subsequently extracted and executed by the AVideo Layout plugin's `organizeHTML()` function. While the attack requires user interaction (clicking a link), a successful exploit against an authenticated administrator can lead to full site compromise via session hijacking or unauthorized API requests. A patch is available in version 29.0.

## Affected products

- WWBN AVideo < 29.0

## Identifiers

- CVE-2026-50182
- GHSA-hgjh-6wj8-gcgf

## Timeline

- 2026-05-28: advisory: GitHub Security Advisory published
- 2026-07-15: disclosed: NVD publication date

## References

- [https://github.com/WWBN/AVideo/commit/f50fc033b7adb36f1ffd6640e7826468bdafdec3](https://github.com/WWBN/AVideo/commit/f50fc033b7adb36f1ffd6640e7826468bdafdec3)
- [https://github.com/WWBN/AVideo/security/advisories/GHSA-hgjh-6wj8-gcgf](https://github.com/WWBN/AVideo/security/advisories/GHSA-hgjh-6wj8-gcgf)

## Related threats

- [WWBN AVideo stored cross-site scripting in channel feed](https://junglewise.ai/threats/cve-2026-126810-wwbn-avideo-29-1-0-through-29-7-1-contains-a-stored-cross-site)
- [WWBN AVideo missing authorization in import and file operations](https://junglewise.ai/threats/cve-2026-126809-wwbn-avideo-through-29-7-1-contains-a-missing-authorization)
- [WWBN AVideo stored cross-site scripting in video download link](https://junglewise.ai/threats/cve-2026-126806-wwbn-avideo-14-3-through-29-7-1-contains-a-stored-cross-site)
- [WWBN AVideo incorrect authorization in encoder endpoints](https://junglewise.ai/threats/cve-2026-126805-wwbn-avideo-through-29-7-1-contains-an-incorrect-authorization)
- [WWBN AVideo path traversal in ADs plugin deleteImage.json.php](https://junglewise.ai/threats/cve-2026-126804-wwbn-avideo-12-4-through-29-7-1-contains-a-path-traversal)
