GHSA-crx4-7mmq-j74j: XSS
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
php <i class="fa fa-users mr-2"></i>'.tr('Utenti del gruppo: GROUP', [ 'GROUP' => '<span class="text-primary">'.$group->getTranslation('title').'</span>
PoC A malicious user can inject HTML content into the Name field when creating a new user group.
<img width="1233" height="293" alt="image" src="https://github.com/user-attachments/assets/cc09d0d5-ec77-4e94-94f7-35a277c49130" />
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.
<img width="583" height="356" alt="image" src="https://github.com/user-attachments/assets/ac9006fb-2a5c-4a84-946e-9c54b7ac5500" />
The injected anchor tag is also visible when the group is assigned to a user.
<img width="1262" height="503" alt="image" src="https://github.com/user-attachments/assets/68b2d45f-d0b8-4304-90fa-cb56f55ce3aa" />
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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/devcode-it/openstamanagerto a version that resolves this vulnerability.Fixed in 2.11-beta
Event History
Frequently Asked Questions
Who can exploit this issue?
An attacker needs high privileges and must be able to create a user group and supply a malicious group name. Exploitation also requires another user to interact with the rendered content.
Where does the injected content appear?
The affected rendering path is modules/utenti/edit.php, where the group title is displayed in the “Utenti del gruppo” interface. A malicious group name can be rendered as active HTML, such as an anchor link.
What is the likely impact?
The disclosed impact is limited to HTML injection that can display attacker-controlled interface content. This may support phishing or redirect users when they interact with injected links; the provided severity vector indicates low confidentiality and integrity impact and no availability impact.