MEDIUM5.4
GHSA-2r2w-jrh2-p4gr
Cross-site Scripting in LibreNMS
Quick fix
GHSA-2r2w-jrh2-p4gr — librenms/librenms: upgrade to the fixed version with the command below.
composer require librenms/librenms:^21.3.0Details
In LibreNMS < 21.3.0, a stored XSS vulnerability was identified in the API Access page due to insufficient sanitization of the $api->description variable. As a result, arbitrary Javascript code can get executed.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/librenms/librenms
Introduced in:
0Fixed in: 21.3.0Fix
composer require librenms/librenms:^21.3.0