CVE-2021-31274
JSON

5.4medium

Cross-site Scripting in LibreNMS

Severity
5.4medium CVSS:3.1 by NVD
Exploit likelihood
0.77% (higher than 56% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-2r2w-jrh2-p4gr

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

Product or packageVersionsReported by
Unspecified productn/aCVE List
librenms/librenms (Packagist)before 21.3.0GitHub Advisory Database
librenms librenmsbefore 21.3.0NVD

All scores

GitHub5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD3.5low CVSS:2.0AV:N/AC:M/Au:S/C:N/I:P/A:N

Classification

What each source says

CVE List

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.

NVD (es)

En LibreNMS versiones anteriores a 21.3.0, se ha identificado una vulnerabilidad de tipo XSS almacenada en la página de acceso a la API debido a un saneo insuficiente de la variable $api-)description. Como resultado, puede ser ejecutado código Javascript arbitrario

References

Sources

SourceRecordLicence
CVE ListCVE-2021-31274 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-2r2w-jrh2-p4gr changed 2024-02-16CC-BY-4.0
NVDCVE-2021-31274 changed 2026-06-17Public domain