OpenSTAManager has HTML Injection in modules/utenti/edit.php
Description
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.
Impact
This vulnerability is an HTML Injection caused by improper sanitization of user-supplied input before rendering it in the application interface. Any user who views the interface where the injected content is rendered may be impacted.
Affected products
1Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-crx4-7mmq-j74jghsaADVISORY
- github.com/devcode-it/openstamanager/commit/0b88ad1963871abfa5e134004ca0c74c496d8d2fghsa
- github.com/devcode-it/openstamanager/commit/7c9eafe9ffefcfd61357c81165157090e790c213ghsa
- github.com/devcode-it/openstamanager/releases/tag/v2.11-betaghsa
- github.com/devcode-it/openstamanager/security/advisories/GHSA-crx4-7mmq-j74jghsa
News mentions
0No linked articles in our index yet.