ADVISORIES

GitHub Advisory Database

GHSA-2r2w-jrh2-p4gr

Cross-site Scripting in LibreNMS

Moderate CVE-2021-31274

Details

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.

Affected packages

EcosystemPackageAffected versions
Packagistlibrenms/librenms
All versions before 21.3.0 (fixed in 21.3.0)

References