CVE-2022-4068: Improperly Controlled Modification of Dynamically-Determined Object Attributes in librenms/librenms

CVE-2022-4068 affects 37 listed versions of LibreNMS in the Dawnsentry catalogue.

5.4CVSS medium
Proof of concept publicexploitation
45%EPSS (next 30 days)
20 November 2022published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

LibreNMS

37 of 107 listed versions are affected. Fixed in 22.10.0. The newest release, 26.11.0, is not affected.

22.9.0 22.8.0 22.7.0 22.6.0 22.5.0 22.4.1 22.4.0 22.3.0 22.2.2 22.2.1 22.2.0 22.1.0 21.12.1 21.12.0 21.11.0 21.10.2 21.10.1 21.10.0 21.9.1 21.9.0 21.8.0 21.7.0 21.6.0 21.5.1 21.5.0 21.4.0 21.3.0 21.2.0 21.1.0 1.65.1 1.54 1.53 1.50.1 1.47 1.46 1.44 1.30

What it is

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.

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N (NVD)

Published by huntrdev on 20 November 2022. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2022-4068 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.