Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain network access to SNMP-polled segment or acquire device management role
-
DeliveryDeploy rogue SNMP device or modify managed device with XSS payload in BGP/VRF/SLA fields
-
ExploitLibreNMS polls device and persists malicious data to database
-
ExecutionAdministrator navigates to affected routing or device page
-
PersistStored XSS payload executes in admin browser session
-
ImpactExfiltrate session credentials and CSRF tokens to attacker endpoint
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires one of two preconditions: (1) the attacker holds a device management role within LibreNMS with sufficient privileges to configure or enroll SNMP-polled devices, allowing direct injection of malicious data into BGP peer descriptions, VRF names, process fields, or SLA tags; or (2) the attacker has network-level access to a segment LibreNMS monitors and can deploy a rogue SNMP-speaking host whose field values LibreNMS polls and stores. In both paths, a LibreNMS administrator must subsequently navigate to one of the affected legacy PHP template pages displaying routing or device data for the stored payload to execute (UI:P). Exploitation is further constrained by high attack complexity (AC:H), indicating that specific timing or configuration preconditions must align. Exploitation is not possible without active SNMP polling of the attacker-controlled data source, and is limited to environments where legacy PHP template pages remain in use rather than any modernized rendering path. |
| Impact | The CVSS 4.0 score of 5.8 (Medium) is shaped primarily by high attack complexity (AC:H) and high privilege requirements (PR:H), which temper what would otherwise be a more severe confidentiality impact (VC:H). However, the PR:H rating warrants scrutiny: the description offers a second attack path - network-level enrollment of a rogue SNMP device - which may require only network positioning and not a LibreNMS account credential, effectively reducing the privilege prerequisite below what PR:H implies. This discrepancy is not resolved in available data and should be verified with the vendor advisory. No EPSS score is provided, no KEV listing exists, and no public exploit code has been identified at time of analysis, so this is not a known-weaponized issue. Real-world risk is elevated in environments where LibreNMS is deployed without network segmentation or strict SNMP community controls, where a rogue device on the monitored segment could poison the data store. The admin-interaction requirement (UI:P) is a meaningful limiting factor - exploitation is not immediate upon injection but depends on an administrator navigating affected pages. |
| Exploit ScenarioDerived | An attacker with network access to a segment monitored by LibreNMS deploys a rogue host running an SNMP agent that returns malicious JavaScript in its BGP peer description or VRF name fields. LibreNMS polls the device, stores the payload, and when a LibreNMS administrator next navigates to the routing overview or device detail pages, the stored script executes silently in their browser, sending the administrator's session token and CSRF token to an attacker-controlled endpoint. No public exploit code has been identified at time of analysis, but the attack chain relies on well-understood stored XSS mechanics. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 01, 2026
Stored cross-site scripting in LibreNMS through 26.2.0 enables attackers to inject persistent malicious JavaScript via SNMP-sourced data fields - including BGP peer descriptions, VRF names, process data, and SLA tags - that execute in the context of authenticated administrators browsing legacy PHP routing and device pages. The dual attack path (device management access within LibreNMS, or network-level enrollment of a rogue SNMP device) means exploitation is not strictly confined to privileged insider accounts. Successful exploitation yields session credential theft and CSRF token exfiltration, giving the attacker effective administrative control over the monitoring platform. No public exploit has been identified at time of analysis.
RemediationAI
Upgrade LibreNMS to a version beyond 26.2.0 per the vendor security advisory at https://github.com/librenms/librenms/security/advisories/GHSA-v5jp-f342-234h; the exact patched release version is not confirmed in available data, so consult the advisory directly before deploying. As compensating controls pending upgrade: restrict SNMP community string access to only trusted, network-segmented device ranges to block rogue device enrollment, noting this may require firewall rules on UDP/161; disable or firewall-restrict access to the affected legacy routing and device pages if not operationally required, accepting reduced monitoring visibility; and deploy a Content Security Policy header on the LibreNMS web interface to limit exfiltration scope of any injected scripts, though this requires compatibility testing against LibreNMS's existing inline JavaScript. The VulnCheck advisory at https://www.vulncheck.com/advisories/librenms-through-26.2.0-stored-cross-site-scripting-via-snmp may contain additional technical detail.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
LibreNMS is a PHP-based open-source network monitoring system that collects operational telemetry from network devices using SNMP polling. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation), specifically a stored XSS variant: SNMP-retrieved data fields - BGP peer descriptions, VRF route instance names, process listings, and SLA tags - are persisted to the LibreNMS database and subsequently rendered by legacy PHP template pages without HTML encoding or output escaping. Because these fields originate from external SNMP agents, any device responding to LibreNMS polls can inject arbitrary content. The affected scope spans all LibreNMS deployments per CPE cpe:2.3:a:librenms:librenms:*:*:*:*:*:*:*:*, covering all versions through 26.2.0.
Know when Librenms gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:P/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
PR:L reflects that rogue SNMP device enrollment may require only network positioning rather than LibreNMS credentials; S:C captures XSS scope change to the admin browser context.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
LibreNMS through 26.2.0 contains a stored cross-site scripting vulnerability in legacy PHP template pages that render unescaped SNMP-sourced data fields including BGP peer descriptions, VRF names, process information, and SLA tags. Attackers with device management access or network access to enroll a rogue SNMP device can inject malicious JavaScript that executes when admins view affected routing and device pages, enabling credential theft and CSRF token exfiltration.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.
An issue was discovered in LibreNMS through 1.47. Rated high severity (CVSS 7.2), this vulnerability is remotely exploit
Librenms 21.11.0 is affected by a path manipulation vulnerability in includes/html/pages/device/showconfig.inc.php. Rate
An issue was discovered in LibreNMS through 1.47. Rated critical severity (CVSS 9.8), this vulnerability is remotely exp
Authentication bypass in the LibreNMS REST API (all versions before 26.8.0) lets unauthenticated remote attackers reach
SQL injection in LibreNMS 25.12.0 and below. PoC and patch available.
An issue was discovered in LibreNMS through 1.47. Rated critical severity (CVSS 9.1), this vulnerability is remotely exp
SQL injection in LibreNMS versions 25.12.0 and below allows authenticated users to extract sensitive database informatio
LibreNMS is an open-source, PHP/MySQL/SNMP-based network monitoring system. Rated high severity (CVSS 8.8), this vulnera
An issue was discovered in LibreNMS before 1.65.1. Rated high severity (CVSS 8.8), this vulnerability is remotely exploi
An issue was discovered in LibreNMS 1.50.1. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable,
An issue was discovered in LibreNMS through 1.47. Rated high severity (CVSS 8.8), this vulnerability is remotely exploit
Command injection in LibreNMS's Virtualization Discovery module enables authenticated administrator-level users to execu
EUVD-2026-69030
GHSA-43px-cc38-6vvc
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB