CVE-2022-4068

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in packagist/librenms/librenms

Identifiers

CVE-2022-4068, GHSA-f3hw-3h74-wr98

Package Slug

packagist/librenms/librenms

Vulnerability

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

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 Versions

All versions before 22.10.0

Solution

Upgrade to version 22.10.0 or above.

Last Modified

2022-11-22

source