# CVE-2022-4068

## Summary

- **CVE ID:** CVE-2022-4068
- **Severity:** HIGH
- **CVSS Score:** 7.6 (CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L)
- **CWE:** CWE-915
- **Published:** Nov 20, 2022
- **Last Modified:** Mar 13, 2026

## 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

- librenms — librenms/librenms (unspecified)

## References

- [CNA](https://huntr.dev/bounties/becfecc4-22a6-4f94-bf83-d6030b625fdc)
- [CNA](https://github.com/librenms/librenms/commit/09a2977adb8bc4b1db116c725d661160c930d3a1)

## Exploitation Prediction (EPSS)

- **EPSS Score:** 54.37%
- **EPSS Percentile:** 98.0

---
_Exported from OnDuty AI Vulnerability Intelligence on 2026-09-17._