The vulnerability is a stored Cross-Site Scripting (XSS) in the category description of WWBN AVideo. The analysis of the provided vulnerability description and the associated commit 6a6ff1f5bff1904f91f612db9f0da083295392b1 reveals the complete lifecycle of the vulnerability.
The vulnerability originates in objects/category.php within the Category.setDescription method. This method is called from objects/categoryAddNew.json.php and directly takes user input from $_POST['description'] and assigns it to a category object's property without any form of sanitization or validation. This allows malicious script content to be stored in the database.
The stored payload is then rendered on the gallery page, triggering the XSS. The sink is located in plugin/Gallery/view/mainAreaCategory.php inside the createCategorySection function. Before the patch, this function would echo the category_description directly to the page, causing the browser to execute any embedded scripts. The patch mitigates this by applying htmlentities() to the description before rendering it, thus neutralizing the script content.
Both Category.setDescription (the source) and createCategorySection (the sink) are critical functions in the exploit chain and would appear in runtime profiles during the attack.