{"id":"CVE-2022-4068","published":"2022-11-20T00:00:00Z","modified":"2025-04-25T18:59:04Z","title":"Improperly Controlled Modification of Dynamically-Determined Object Attributes in librenms/librenms","vendor":"librenms","product":"librenms/librenms","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.6,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.44543,"percentile":0.98797,"provenance":"source"},"cwes":[{"id":"CWE-915","name":"Improperly Controlled Modification of Dynamically-Determined Object Attributes"}],"references":[{"url":"https://huntr.dev/bounties/becfecc4-22a6-4f94-bf83-d6030b625fdc","tags":[]},{"url":"https://github.com/librenms/librenms/commit/09a2977adb8bc4b1db116c725d661160c930d3a1","tags":[]}],"priority":{"score":25.1,"factors":[{"name":"EPSS percentile","points":19.76},{"name":"CVSS severity","points":5.32}]},"vendorSlug":"librenms","affectedVersions":[{"vendor":"librenms","product":"librenms/librenms","versions":[">= unspecified, < 22.10.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-25T18:58:11.047285Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"librenms/librenms","vulnerableRanges":["<22.10.0"],"patched":["22.10.0"],"from":["GHSA-f3hw-3h74-wr98"],"provenance":"source"}],"summary":{"text":"A flaw in the LibreNMS web application (product librenms/librenms) lets a user re-enable their own account after an administrator has disabled it while the user still holds a valid session, and the username is not properly sanitised in the admin user overview. An attacker with a low-privilege account, who must get an administrator to interact with the crafted username in the admin user overview, can run arbitrary JavaScript in the administrator's session via cross-site scripting.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:35:15Z"},"euvd":{"id":"EUVD-2022-7322","exploited":false,"provenance":"source"}}