OpenSTAManager has HTML Injection in modules/utenti/edit.php
Summary
An HTML Injection vulnerability exists in the user group creation functionality that allows an attacker to inject arbitrary HTML content into the application interface. The vulnerability occurs when user-supplied input in the group name field is not properly sanitized before being rendered, allowing an attacker to inject HTML elements such as anchor tags. This may enable phishing attacks or unintended redirection when other users interact with the injected content.Details
The vulnerable code responsible for rendering this content is located in:modules/utenti/edit.php'.tr('Utenti del gruppo: _GROUP_', [
'_GROUP_' => ''.$group->getTranslation('title').'PoC
A malicious user can inject HTML content into the Name field when creating a new user group.After selecting the group, the application renders the injected HTML without proper sanitization. As a result, the anchor tag is displayed as an active link in the interface.
The injected anchor tag is also visible when the group is assigned to a user.
When a user clicks the injected link, the browser redirects them to the attacker-controlled URL.