ADVISORIES

GitHub Advisory Database

GHSA-f3hw-3h74-wr98

Cross-site Scripting in librenms/librenms

Details

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 packages

EcosystemPackageAffected versions
Packagistlibrenms/librenms
All versions before 22.10.0 (fixed in 22.10.0)

References