{"id":"CVE-2022-4068","aliases":["GHSA-f3hw-3h74-wr98"],"url":"https://o3.security/vulnerability/CVE-2022-4068","summary":"Improperly Controlled Modification of Dynamically-Determined Object Attributes 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.","published":"2022-11-20T00:00:00Z","modified":"2026-07-15T01:49:05.382165029Z","cvss":{"score":7.6,"severity":"HIGH","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"Packagist","name":"librenms/librenms","fixedVersion":"22.10.0"}],"fix":{"url":"https://github.com/librenms/librenms/commit/09a2977adb8bc4b1db116c725d661160c930d3a1","label":"librenms/librenms@09a2977"},"references":[{"type":"WEB","url":"https://huntr.dev/bounties/becfecc4-22a6-4f94-bf83-d6030b625fdc"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/4xxx/CVE-2022-4068.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-4068"},{"type":"FIX","url":"https://github.com/librenms/librenms/commit/09a2977adb8bc4b1db116c725d661160c930d3a1"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:49:05.382165029Z"}}