CVEs / CVE-2022-4068
CVE-2022-4068: librenms librenms/librenms vulnerability
- medium 5.4 CVSS 3.1 (NVD)
- EPSS 37.5% chance of exploitation in the next 30 days, higher than 98% of CVEs (1 Nov 2026)
- Last changed at its sources
Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.
Check your servers with Stackurity Already using Stackurity? Search for CVE-2022-4068
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 and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| librenms librenms/librenms | from unspecified, before 22.10.0 | 22.10.0 |
| Product | Affected | Fixed in |
|---|---|---|
| librenms/librenms (Packagist) | before 22.10.0 | 22.10.0 |
Package versions from GHSA-f3hw-3h74-wr98.
Exploitation
Not in the CISA Known Exploited Vulnerabilities catalog as of 30 Oct 2026.
Severity
| CVSS 3.1 | 5.4 mediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NScored by NVD |
|---|---|
| Weakness | CWE-915, CWE-79 |
References
- CVE-2022-4068 on NVD
- CVE-2022-4068 on OSV
- https://github.com/librenms/librenms/commit/09a2977adb8bc4b1db116c725d661160c930d3a1 Patch, Third Party Advisory
- https://huntr.dev/bounties/becfecc4-22a6-4f94-bf83-d6030b625fdc Exploit, Patch, Third Party Advisory
Sources
Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.
This product uses data from the NVD API but is not endorsed or certified by the NVD.