CVE-2022-4068Librenms
Medium 5.4
Follow: this CVE · Librenms · Librenms We alert you by email or Slack (account required).
- Priority
- 33
- CVSS 3.1
- 5.4
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 63
- Auth required
- Yes
- Published
- Nov 20, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Librenms.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | librenms/librenms |
< 22.10.0 |
22.10.0 |
composer require "librenms/librenms:^22.10.0" |
Per OSV / GitHub Advisories (GHSA-f3hw-3h74-wr98). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| librenms | librenms | < 22.10.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- huntr.dev Exploit Patch Third Party Advisory