WWBN AVideo Stored Cross-Site Scripting Vulnerability in Category Descriptions

Vulnerability

A stored cross-site scripting vulnerability has been identified in WWBN AVideo versions through 29.0. The issue arises because category descriptions are saved from user input and later displayed as raw HTML in the Gallery view. Users with the ability to create or edit categories can inject JavaScript into the category description, which is executed when another user views the corresponding Gallery or category page. This vulnerability is distinct from previously addressed XSS issues in video titles or comments.

Impact

Exploitation of this vulnerability allows for the execution of injected JavaScript in the browsers of users or administrators who view the affected Gallery or category page. This could enable an attacker to perform actions on behalf of the victim, steal same-origin data accessible to JavaScript, or misuse administrative UI functions if an administrator views the compromised category.

Reproduction

To reproduce this vulnerability, log in as a user with permission to create or edit categories. Once logged in, create or edit a category and enter a description that includes a JavaScript payload, such as an image tag with an 'onerror' event. After saving the category, assign at least one video to it. Finally, open the Gallery or category page that displays the category section. The injected JavaScript will execute, demonstrating the cross-site scripting vulnerability.

Remediation

Category descriptions should be sanitized on input using the same HTML policy applied to video descriptions, or stored as plain text. When outputting category descriptions, they should be encoded to prevent execution of injected scripts. If limited HTML is allowed, use a library like HTMLPurifier to clean the input before storage or rendering. Additionally, regression tests should be implemented to ensure category descriptions are properly handled in Gallery views.

Added: May 29, 2026, 2:20 PM
Updated: May 29, 2026, 2:20 PM

Vulnerability Rating

Custom Algorithm
spread
1.0
impact
1.7
exploitability
6.5
remediation
0.0
relevance
9.8
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.