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)
EPSS: 0.008 (52.1th percentile) — read the EPSS interpretation.
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.
Affected products
- Librenms
- N/a — versions n/a
Weakness classification (CWE)
References
- cve@mitre.org (x_refsource_MISC, Vendor Advisory)
- cve@mitre.org (Product, Third Party Advisory, x_refsource_MISC)
- cve@mitre.org (Patch, Third Party Advisory, x_refsource_MISC)
Frequently asked questions
- What is CVE-2021-31274?
- CVE-2021-31274 is a medium-severity vulnerability in Librenms, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2021-09-08.
- How severe is CVE-2021-31274?
- Medium severity. CVSS v3 base score is 5.4 out of 10.