medium5.4
CVE-2021-31274
Cross-site Scripting in LibreNMS
Impact
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
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | librenms/librenms | < 21.3.0 | 21.3.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Librenms | Librenms | before 21.3.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://community.librenms.org/t/vulnerability-report-cross-site-scripting-xss-in-the-api-access-page/15431
- https://github.com/librenms/librenms
- https://github.com/librenms/librenms/pull/12739
- https://github.com/advisories/GHSA-2r2w-jrh2-p4gr
- https://nvd.nist.gov/vuln/detail/CVE-2021-31274