banner logoJoin us at RSAC™ 2026 Conference, March 23–March 26 | North Expo, Booth N-5863Join us at RSAC™ 2026, March 23–March 26Learn More
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI Security Portfolio
      Leading the Way in AI-Powered Security Solutions
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-26991

CVE-2026-26991: LibreNMS Device Group XSS Vulnerability

CVE-2026-26991 is a stored cross-site scripting flaw in LibreNMS that allows admins to inject malicious scripts through unsanitized device group names. This article covers technical details, affected versions, and mitigation.

Published: February 27, 2026

CVE-2026-26991 Overview

LibreNMS, an auto-discovering PHP/MySQL/SNMP based network monitoring tool, contains a Stored Cross-Site Scripting (XSS) vulnerability in versions 26.1.1 and below. The device group name parameter is not properly sanitized, allowing attackers with admin privileges to inject malicious scripts that execute in the context of other users' browsers when they view the device groups page.

Critical Impact

Attackers with admin privileges can inject persistent malicious JavaScript that executes when other users interact with device group management features, potentially leading to session hijacking, credential theft, or further compromise of the monitoring infrastructure.

Affected Products

  • LibreNMS versions 26.1.1 and below
  • LibreNMS device group management component
  • Deployments using the /device-groups Request-URI endpoint

Discovery Timeline

  • 2026-02-20 - CVE-2026-26991 published to NVD
  • 2026-02-20 - Last updated in NVD database

Technical Details for CVE-2026-26991

Vulnerability Analysis

This Stored XSS vulnerability exists in the device group management functionality of LibreNMS. When an administrator creates a new device group via an HTTP POST request to the /device-groups endpoint, the name parameter value is stored without adequate sanitization. The unsanitized device group name is subsequently rendered in the web interface alongside action buttons (Rediscover Devices, Edit, and Delete), allowing injected scripts to execute in the browsers of users who view the device groups page.

The vulnerability specifically manifests in the Blade template that renders device group entries. The device group name was being passed directly to JavaScript functions in the onclick handler without proper encoding, creating an injection point for malicious scripts.

Root Cause

The root cause is improper output encoding in the resources/views/device-group/index.blade.php template file. The device group name was directly interpolated into a JavaScript onclick handler within the delete button, bypassing Blade's automatic escaping mechanisms. This allowed specially crafted device group names containing JavaScript payloads to execute when rendered in the DOM.

Attack Vector

The attack requires network access and exploits the web application layer. An attacker with administrative privileges can create a device group with a maliciously crafted name containing JavaScript code. When any user views the device groups page, the malicious script executes in their browser context. While this requires prior authentication and admin privileges, the stored nature of the XSS means the payload persists and can affect multiple users over time.

The security patch addresses this by moving the device group name from inline JavaScript to a data attribute (data-group-name), which properly encodes the value:

php
                                    href="{{ route('device-groups.edit', $device_group->id) }}">
                                     <i class="fa fa-pencil" aria-hidden="true"></i></a>
                                 <button type="button" class="btn btn-danger btn-sm" title="{{ __('delete Device Group') }}" aria-label="{{ __('Delete') }}"
-                                        onclick="delete_dg(this, '{{ $device_group->name }}', '{{ route('device-groups.destroy', $device_group->id) }}')">
+                                        data-group-name="{{ $device_group->name }}"
+                                        onclick="delete_dg(this, '{{ route('device-groups.destroy', $device_group->id) }}')">
                                     <i
                                         class="fa fa-trash" aria-hidden="true"></i></button>
                             </td>

Source: GitHub Commit 64b31da

Detection Methods for CVE-2026-26991

Indicators of Compromise

  • Device group names containing HTML or JavaScript elements such as <script>, onclick, onerror, or encoded variants
  • Unusual HTTP POST requests to /device-groups with suspicious payloads in the name parameter
  • Web server logs showing attempts to create device groups with special characters or encoded scripts

Detection Strategies

  • Review existing device group names in the database for suspicious content or script tags
  • Implement Web Application Firewall (WAF) rules to detect XSS payloads in POST requests to /device-groups
  • Monitor for anomalous administrative activity, particularly bulk creation or modification of device groups

Monitoring Recommendations

  • Enable detailed logging for the device group management endpoints
  • Configure alerts for device group names containing angle brackets, event handlers, or JavaScript protocol handlers
  • Audit administrative user sessions for signs of compromise or unauthorized access

How to Mitigate CVE-2026-26991

Immediate Actions Required

  • Upgrade LibreNMS to version 26.2.0 or later immediately
  • Audit existing device groups for malicious or suspicious names and sanitize or remove them
  • Review administrative user accounts for unauthorized access or compromise
  • Consider implementing Content Security Policy (CSP) headers to mitigate XSS impact

Patch Information

LibreNMS has released version 26.2.0 which addresses this vulnerability. The fix modifies the resources/views/device-group/index.blade.php template to use a data-group-name attribute instead of directly interpolating the device group name into the onclick handler. This ensures proper HTML encoding of the value. The patch is available via GitHub Commit 64b31da and the GitHub Release 26.2.0.

Workarounds

  • Restrict administrative access to trusted users only until the patch can be applied
  • Implement input validation at the application or WAF level to reject device group names containing HTML or script elements
  • Regularly audit device group entries for suspicious content as a compensating control
bash
# Upgrade LibreNMS to patched version
cd /opt/librenms
git fetch --all
git checkout 26.2.0
./scripts/composer_wrapper.php install --no-dev
./lnms migrate

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechLibrenms

  • SeverityMEDIUM

  • CVSS Score5.1

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Pull Request Discussion

  • GitHub Release 26.2.0

  • GitHub Security Advisory GHSA-5pqf-54qp-32wx
  • Vendor Resources
  • GitHub Commit Update
  • Related CVEs
  • CVE-2026-26987: LibreNMS Reflected XSS Vulnerability

  • CVE-2026-26989: LibreNMS Stored XSS Vulnerability

  • CVE-2026-27016: LibreNMS Custom OID XSS Vulnerability

  • CVE-2026-26992: LibreNMS Stored XSS Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • English
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use