Vulnerability · Published Sep 8, 2021 · Assigned by mitre

CVE-2021-31274

Medium 5.4

In plain English

A medium-severity security flaw in the librenms/librenms package (Packagist). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)5.4Medium
Exploit odds (30 days)0.8%top 44.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistlibrenms/librenms21.3.0GHSA-2r2w-jrh2-p4gr

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References