All reports
Medium

Cross-site Scripting in LibreNMS

Affected versions

Affected versions
< 21.3.0
Fixed version
21.3.0

Exploitation

CVE-2021-31274

Probability of exploitation in the next 30 days: 0.77%

FIRST EPSS · 2026-11-20

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.

Links