CVE-2021-31274
Cross-site Scripting in LibreNMS
5.4
MEDIUM
CVSS 3.1
EPSS 0.04%
Description
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.
How to fix CVE-2021-31274
To remediate CVE-2021-31274, upgrade the affected package to a fixed version below.
- Packagist/librenms/librenms—upgrade to 21.3.0 or later
Is CVE-2021-31274 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 21.3.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |