Description
A user is able to enable their own account if it was disabled by an admin while the user still holds a valid session. Moreover, the username is not properly sanitized in the admin user overview. This enables an XSS attack that enables an attacker with a low privilege user to execute arbitrary JavaScript in the context of an admin's account.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| librenms | librenms/librenms | unspecified – < 22.10.0 | 22.10.0 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | librenms/librenms | < 22.10.0 | 22.10.0 | GHSA-f3hw-3h74-wr98 |