XSS in Librenms

CVE-2022-4068

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.

Vulnerability class: Mass Assignment

EPSS: 0.340 (98.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2022-4068?
CVE-2022-4068 is a medium-severity vulnerability in Librenms, classified under Improperly Controlled Modification of Dynamically-Determined Object Attributes. CVSS score: 5.4/10. Published 2022-11-20.
How severe is CVE-2022-4068?
Medium severity. CVSS v3 base score is 5.4 out of 10.