XSS in Librenms
CVE-2021-31274
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
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.
EPSS exploit prediction
EPSS 0.008, 56.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- community.librenms.org/t/vulnerability-report-cross-site-scripting-xss-in-the-a… (Vendor Advisory)
- github.com/librenms/librenms (Product, Third Party Advisory)
- github.com/librenms/librenms/pull/12739 (Patch, Third Party Advisory)