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

CVE-2026-26987: LibreNMS Reflected XSS Vulnerability

CVE-2026-26987 is a reflected XSS vulnerability in LibreNMS that allows attackers to inject malicious scripts via the email field. This article covers the technical details, affected versions, and mitigation strategies.

Published: February 27, 2026

CVE-2026-26987 Overview

LibreNMS, an auto-discovering PHP/MySQL/SNMP based network monitoring tool, contains a Reflected Cross-Site Scripting (XSS) vulnerability in versions 25.12.0 and below. The vulnerability exists in the email field, allowing attackers to inject malicious scripts that execute in the context of a victim's browser session when they interact with a specially crafted link.

Critical Impact

Attackers can exploit this reflected XSS vulnerability to steal session cookies, capture user credentials, perform actions on behalf of authenticated users, or redirect victims to malicious websites. Given that LibreNMS is typically deployed to monitor critical network infrastructure, successful exploitation could provide attackers with visibility into network topology and device configurations.

Affected Products

  • LibreNMS versions 25.12.0 and below
  • All LibreNMS installations with web interface exposed
  • Environments where users access LibreNMS via untrusted links

Discovery Timeline

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

Technical Details for CVE-2026-26987

Vulnerability Analysis

This reflected XSS vulnerability (CWE-79) affects the email field input handling in LibreNMS. Reflected XSS occurs when user-supplied data is immediately returned by the web application without proper sanitization, allowing JavaScript code embedded in the request to execute in the victim's browser. In this case, the email field fails to properly encode or sanitize special characters, enabling injection of arbitrary script content.

The vulnerability requires user interaction—a victim must click on a malicious link containing the XSS payload. When the vulnerable page processes the request, the malicious script executes within the security context of the LibreNMS application, potentially allowing access to session tokens, cookies, and other sensitive data accessible to the authenticated user.

Root Cause

The root cause is improper input validation and output encoding in the LibreNMS web application. The email field component does not adequately sanitize user-controlled input before reflecting it back in the HTTP response. This violates the principle of treating all user input as untrusted and encoding output based on the context where it will be rendered.

Attack Vector

The attack is network-based and requires no prior authentication. An attacker crafts a malicious URL containing JavaScript code in the email field parameter and convinces a victim to click the link. The attack leverages the trust relationship between the user's browser and the LibreNMS server. Since the malicious script originates from the trusted domain, it has full access to the page's DOM and can interact with the application as the authenticated user.

The security patch updates the application's JavaScript bundle and Vue.js components to properly sanitize input in the LibrenmsSetting.vue component:

text
 </template>
 
 <script>
-import _ from 'lodash';
+import _ from "lodash";
 
 export default {
         name: "LibrenmsSetting",

Source: GitHub Commit 8e626b38

Detection Methods for CVE-2026-26987

Indicators of Compromise

  • Unusual URL parameters containing encoded JavaScript or HTML tags in the email field
  • Web server logs showing requests with <script>, javascript:, or event handlers (e.g., onerror, onload) in query strings
  • User reports of unexpected redirects or pop-ups when accessing LibreNMS
  • Session anomalies indicating potential token theft or unauthorized access

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect and block common XSS payloads in request parameters
  • Monitor HTTP access logs for suspicious patterns in the email field parameter including encoded special characters
  • Deploy browser-based XSS detection tools or Content Security Policy (CSP) violation reporting
  • Conduct regular vulnerability scanning of LibreNMS installations to identify unpatched instances

Monitoring Recommendations

  • Enable verbose logging on LibreNMS web server to capture full request URLs and parameters
  • Configure alerting for unusual authentication patterns that may indicate session hijacking
  • Monitor for outbound connections to unknown domains from user browsers accessing LibreNMS
  • Review CSP reports if implemented to identify blocked XSS attempts

How to Mitigate CVE-2026-26987

Immediate Actions Required

  • Upgrade LibreNMS to version 26.2.0 or later immediately
  • Review web server access logs for signs of exploitation attempts targeting the email field
  • Implement Content Security Policy headers to reduce XSS impact as a defense-in-depth measure
  • Educate users about the risks of clicking untrusted links to the LibreNMS interface

Patch Information

LibreNMS has released version 26.2.0 which addresses this vulnerability. The fix is available through the official LibreNMS repository. The security patch can be reviewed in GitHub Pull Request #19038, and the full release is available at GitHub Release 26.2.0. For detailed vulnerability information, refer to the GitHub Security Advisory GHSA-gqx7-99jw-6fpr.

Workarounds

  • Implement a Web Application Firewall (WAF) with XSS filtering rules in front of LibreNMS
  • Add Content-Security-Policy headers to restrict inline script execution
  • Limit access to the LibreNMS web interface to trusted networks only via firewall rules
  • Use browser extensions that block reflected XSS attacks for users who must access vulnerable instances
bash
# Example nginx Content-Security-Policy header configuration
# Add to server block for LibreNMS
add_header Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; frame-ancestors 'self';" always;

# Example Apache configuration
Header always set Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; frame-ancestors 'self';"

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.3

  • EPSS Probability0.00%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/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
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Pull Request

  • GitHub Release 26.2.0

  • GitHub Security Advisory GHSA-gqx7-99jw-6fpr
  • Vendor Resources
  • GitHub Commit Update
  • Related CVEs
  • CVE-2026-26989: LibreNMS Stored 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