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-26989

CVE-2026-26989: LibreNMS Stored XSS Vulnerability

CVE-2026-26989 is a stored XSS vulnerability in LibreNMS Alert Rules that allows attackers with admin privileges to inject malicious scripts. This article covers the technical details, affected versions, and mitigation.

Published: February 27, 2026

CVE-2026-26989 Overview

CVE-2026-26989 is a Stored Cross-Site Scripting (XSS) vulnerability affecting LibreNMS, an auto-discovering PHP/MySQL/SNMP based network monitoring tool. Versions 25.12.0 and below are vulnerable to malicious script injection in the Alert Rules workflow. An attacker with administrative privileges can inject malicious scripts that execute in the browser context of any user who accesses the Alert Rules page.

Critical Impact

Stored XSS in the Alert Rules page allows privileged attackers to execute arbitrary JavaScript in the browsers of other users, potentially leading to session hijacking, credential theft, or further compromise of the monitoring infrastructure.

Affected Products

  • LibreNMS versions 25.12.0 and below
  • LibreNMS Alert Rules workflow component
  • LibreNMS includes/html/modal/alert_rule_list.inc.php

Discovery Timeline

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

Technical Details for CVE-2026-26989

Vulnerability Analysis

This Stored Cross-Site Scripting vulnerability exists within the Alert Rules modal component of LibreNMS. The application fails to properly sanitize user-supplied input when rendering alert rule data in the administrative interface. Specifically, the $rule_display variable was being output without adequate HTML entity encoding or tag stripping, allowing embedded script content to be stored and later executed when other users view the Alert Rules page.

The vulnerability requires administrative privileges to exploit, which limits the attack surface. However, in multi-admin environments or scenarios where an attacker has compromised an admin account, this flaw enables persistent attacks against other administrators or users with access to the Alert Rules interface.

Root Cause

The root cause is insufficient input sanitization in the alert_rule_list.inc.php file. While the e() function was being used for escaping, the $rule_display variable was not being processed through strip_tags() before output, allowing HTML and script tags to persist in the rendered output. This violates secure coding practices for handling user-controlled data in web applications.

Attack Vector

The attack is network-based and requires authenticated administrative access to LibreNMS. An attacker would craft a malicious alert rule containing JavaScript payload within a field that gets displayed on the Alert Rules page. When another user navigates to view the alert rules, the stored script executes in their browser context with their session privileges.

php
// Vulnerable code in includes/html/modal/alert_rule_list.inc.php
// The $rule_display variable was not being sanitized with strip_tags()
                             echo "
                                 <tr>
                                    <td>" . e(strip_tags((string)$rule['name'])) . "</td>
                                    <td><i>" . e($rule_display) . "</i></td>
                                     <td>{$rule['severity']}</td>
                                     <td>{$rule['id']}</td>
                                 </tr>

// Fixed code - now applies strip_tags() to $rule_display
                             echo "
                                 <tr>
                                    <td>" . e(strip_tags((string) $rule['name'])) . "</td>
                                    <td><i>" . e(strip_tags((string) $rule_display)) . "</i></td>
                                     <td>{$rule['severity']}</td>
                                     <td>{$rule['id']}</td>
                                 </tr>

Source: GitHub Commit Update

Detection Methods for CVE-2026-26989

Indicators of Compromise

  • Unusual or suspicious JavaScript code found in alert rule names or display fields in the LibreNMS database
  • Alert rules containing encoded script tags such as <script>, onerror=, onload=, or other event handlers
  • Unexpected outbound connections from user browsers when accessing the Alert Rules page

Detection Strategies

  • Review web server access logs for POST requests to alert rule endpoints with suspicious payloads
  • Implement Content Security Policy (CSP) headers to detect and block inline script execution
  • Monitor LibreNMS audit logs for alert rule creation or modification by compromised or suspicious accounts

Monitoring Recommendations

  • Enable browser developer console monitoring for JavaScript errors or unexpected script execution when accessing LibreNMS
  • Deploy Web Application Firewall (WAF) rules to detect XSS payloads in HTTP request parameters
  • Conduct periodic database audits of alert rule content for embedded HTML or JavaScript

How to Mitigate CVE-2026-26989

Immediate Actions Required

  • Upgrade LibreNMS to version 26.2.0 or later immediately
  • Review existing alert rules for any malicious content and sanitize or remove suspicious entries
  • Audit administrative user accounts for any unauthorized access or suspicious activity
  • Invalidate active sessions for all users after applying the patch

Patch Information

The vulnerability has been fixed in LibreNMS version 26.2.0. The fix applies strip_tags() to the $rule_display variable before output, preventing HTML and script injection. The patch is available via commit 087608cf9f851189847cb8e8e5ad002e59170c58. For detailed information, refer to the GitHub Security Advisory GHSA-6xmx-xr9p-58p7 and the GitHub Release 26.2.0.

Workarounds

  • Restrict administrative access to trusted personnel only until the patch can be applied
  • Implement strict Content Security Policy headers to mitigate JavaScript execution from stored payloads
  • Manually review and sanitize all existing alert rule entries in the database for malicious content
bash
# Update LibreNMS to the 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 Score4.8

  • EPSS Probability0.00%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Pull Request

  • GitHub Release 26.2.0

  • GitHub Security Advisory GHSA-6xmx-xr9p-58p7
  • Vendor Resources
  • GitHub Commit Update
  • Related CVEs
  • CVE-2026-26987: LibreNMS Reflected XSS Vulnerability

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

  • CVE-2026-26991: LibreNMS Device Group 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