CVE-2026-26991

LibreNMS vulnerable to Stored Cross-site Scripting through unsanitized /device-groups name

Published Feb 20, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
Description
LibreNMS is an auto-discovering PHP/MySQL/SNMP based network monitoring tool. In versions 26.1.1 and below, the device group name is not sanitized, allowing attackers with admin privileges to perform Stored Cross-Site Scripting (XSS) attacks. When a user adds a device group, an HTTP POST request is sent to the Request-URI "/device-groups". The name of the newly created device group is stored in the value of the name parameter. After the device group is created, the entry is displayed along with relevant buttons such as Rediscover Devices, Edit, and Delete. This issue has been fixed in version 26.2.0.

Analysis

AI-generated

Technical impact

LibreNMS stores the device group name on the server with no HTML escaping. An administrator who creates or edits a device group can inject arbitrary JavaScript that is then rendered when the group list is viewed by any logged‑in user. The stored XSS can be leveraged for session hijacking, credential theft, or in‑browser code execution, potentially allowing a privileged attacker to compromise other users’ sessions and access sensitive network information.

Affected Systems

The vulnerability exists in LibreNMS 26.1.1 and earlier releases. All installations of the LibreNMS monitoring platform that have not applied the 26.2.0 update are affected.

Risk and Exploitability

The CVSS score of 5.1 indicates moderate severity. The EPSS score of less than 1% suggests that exploit prevalence is low, and the vulnerability is not listed in CISA’s KEV catalog, meaning no known widespread exploitation. The attack requires administrative credentials to create a device group, and the malicious payload is stored and served back to any user who views the group list. Successful exploitation requires an authenticated session with administrative rights and relies on the web UI’s rendering of the unsanitized name field.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade LibreNMS to version 26.2.0 or later to deploy the vendor fix
  • Sanitize the device group name field by escaping or stripping HTML tags prior to storage as an interim workaround
  • Audit existing device group names and remove any that contain injected scripting or other suspicious content

Generated by OpenCVE AI on April 18, 2026 at 11:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-5pqf-54qp-32wx LibreNMS /device-groups name Stored Cross-Site Scripting
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
CPEs cpe:2.3:a:librenms:librenms:*:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 4.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N'}

Type Values Removed Values Added
First Time appeared Librenms
Librenms librenms
Vendors & Products Librenms
Librenms librenms
Type Values Removed Values Added
Description LibreNMS is an auto-discovering PHP/MySQL/SNMP based network monitoring tool. In versions 26.1.1 and below, the device group name is not sanitized, allowing attackers with admin privileges to perform Stored Cross-Site Scripting (XSS) attacks. When a user adds a device group, an HTTP POST request is sent to the Request-URI "/device-groups". The name of the newly created device group is stored in the value of the name parameter. After the device group is created, the entry is displayed along with relevant buttons such as Rediscover Devices, Edit, and Delete. This issue has been fixed in version 26.2.0.
Title LibreNMS vulnerable to Stored Cross-site Scripting through unsanitized /device-groups name
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Feb 20, 2026, 4:35 PM
Reserved
Feb 17, 2026, 1:41 AM
Status
Analyzed
Published
Feb 20, 2026, 3:15 AM
Modified
Jun 17, 2026, 10:26 AM