Vulnerability Details : 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 category: Cross site scripting (XSS)
Products affected by CVE-2021-31274
- cpe:2.3:a:librenms:librenms:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-31274
0.01%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 1 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-31274
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
3.5
|
LOW | AV:N/AC:M/Au:S/C:N/I:P/A:N |
6.8
|
2.9
|
NIST | |
5.4
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
2.3
|
2.7
|
NIST |
CWE ids for CVE-2021-31274
-
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-31274
-
https://github.com/librenms/librenms/pull/12739
Escape user editable field by murrant · Pull Request #12739 · librenms/librenms · GitHubPatch;Third Party Advisory
-
https://github.com/librenms/librenms
GitHub - librenms/librenms: Community-based GPL-licensed network monitoring systemProduct;Third Party Advisory
-
https://community.librenms.org/t/vulnerability-report-cross-site-scripting-xss-in-the-api-access-page/15431
[Vulnerability Report] Cross Site Scripting (XSS) in the API Access page - Help - LibreNMS CommunityVendor Advisory
Jump to