SCA: security update for librenms/librenms (GHSA-2r2w-jrh2-p4gr)

medium Tenable Cloud Security Plugin ID 409060

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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.
(CVE-2021-31274)

See Also

https://github.com/advisories/GHSA-2r2w-jrh2-p4gr

Plugin Details

Severity: Medium

ID: 409060

Version: Revision 1.4

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 8.67

CVSS v2

Risk Factor: Low

Base Score: 3.5

Temporal Score: 2.6

Vector: CVSS2#AV:N/AC:M/Au:S/C:N/I:P/A:N

CVSS Score Source: CVE-2021-31274

CVSS v3

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4.7

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 9/9/2021

Vulnerability Publication Date: 9/8/2021

Reference Information

CVE: CVE-2021-31274

cwe: CWE-79