CVE-2026-47694: WWBN AVideo: Stored XSS via unescaped Gallery category description
Summary AVideo stores category descriptions from user input and later renders categorydescription as raw HTML in the Gallery view. A user who can create or edit categories can store JavaScript in a category description, which executes when another user views the affected Gallery/category page.
Published Jun 4, 2026
Affected packages
WWBN/AVideo
- Ecosystem
- Composer (PHP)
- Affected
- <= 29.0
- Fixed in
- No patched version yet
- Check
composer show WWBN/AVideo
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
AVideo stores category descriptions from user input and later renders category_description as raw HTML in the Gallery view. A user who can create or edit categories can store JavaScript in a category description, which executes when another user views the affected Gallery/category page.
This is a stored XSS in the category description field, separate from previously fixed XSS issues in video titles or comments.
Details
Source:
objects/categoryAddNew.json.php
$objCat->setDescription($_POST['description']);
Storage setter:
objects/category.php
public function setDescription($description)
{
$this->description = $description;
}Sink:
plugin/Gallery/view/mainAreaCategory.php
" style="display: none;"><?php echo $videos[0]['category_description']; ?>The value is rendered without htmlspecialchars(), htmlentities(), HTMLPurifier, or equivalent output encoding.
PoC
Prerequisites:
- AVideo current master / v29.0
- User account with permission to create or edit categories
- Gallery plugin/view enabled
- At least one video assigned to the affected category
Steps:
- Log in as a user who can create or edit categories.
- Create or edit a category.
- Set the category description to:
- Save the category.
- Assign at least one video to that category.
- Open the Gallery/category page that renders the category section.
- The payload is inserted into the page as raw HTML and JavaScript executes.
Impact
An attacker with category edit permission can execute JavaScript in the browser of users or administrators who view the affected Gallery/category page. This can be used to perform actions as the victim, steal same-origin data accessible to JavaScript, or abuse administrative UI actions if an administrator views the malicious category.
Recommended fix
- Sanitize category descriptions on input with the same HTML policy used for video descriptions, or store plain text only.
- Encode on output:
echo htmlspecialchars($videos[0]['category_description'], ENT_QUOTES, 'UTF-8');- If limited HTML is intended, run the description through HTMLPurifier before storage or before render.
- Add regression tests for category description rendering in Gallery views.
Credited to proochicken.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2026-47696
WWBN AVideo: Authenticated wallet credit bypass in AuthorizeNet processPayment endpoint
high4.3No fixJun 4, 2026CVE-2026-50182
WWBN AVideo: Unauthenticated Reflected XSS via $_GET['search'] in AVideo YouTubeAPI Gallery Pagination
medium6.1No fixJun 4, 2026CVE-2026-50183
WWBN AVideo: Stored XSS via Hostile YouTube Video Title in AVideo YouTubeAPI Gallery Section
medium4.7No fixJun 4, 2026CVE-2026-54458
WWBN AVideo: Unauthenticated Stored DOM Cross-Site Scripting via Per-Client Metadata Broadcast in YPTSocket Plugin
critical9.6Jun 4, 2026CVE-2026-46337
AVideo: Unauthenticated Arbitrary Image Read via Path Traversal in `view/img/image404Raw.php`
medium5.3No fixMay 19, 2026CVE-2026-45620
AVideo CVE-2026-43881 incomplete fix - `objects/mention.json.php:17` is an unauthenticated user enumeration sibling that survives `d9cdc7024`
medium5.3No fixMay 18, 2026
