Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessControl or compromise SNMP-monitored network device
-
DeliveryCraft malicious JavaScript payload in SNMP VRF OID response
-
ExploitLibreNMS automated polling ingests poisoned VRF field
-
ExecutionPayload stored unsanitized in database
-
PersistAuthenticated user views VRF display page
-
ImpactInjected JavaScript executes in victim's browser
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 two concrete prerequisites: (1) the attacker must control a network device - either by compromising it or operating a rogue device - that is actively monitored by the target LibreNMS instance via SNMP polling; (2) the LibreNMS instance must be monitoring MPLS VPN infrastructure such that VRF data (mplsVpnVrfDescription, vrf_name, mplsVpnVrfRouteDistinguisher) is being collected and the VRF display pages are rendered for users. Exploitation is additionally gated by passive user interaction (UI:P in CVSS 4.0): a LibreNMS user must navigate to a VRF-related display page after the payload is stored. Authentication requirements on the LibreNMS user side are not independently constrained by this vulnerability - any user with page access is affected. Environments not monitoring MPLS VPN devices, or where VRF polling is disabled, are not exposed. |
| Impact | The CVSS 4.0 score of 5.3 (Medium) with vector AV:N/AC:L/AT:N/PR:N/UI:P captures the indirect exploitation model: the attacker requires no privileges on LibreNMS itself, but does require control over a network device actively monitored by the target instance. The stored nature elevates real-world risk above reflected XSS: a single SNMP poisoning event affects all subsequent page views by all users until sanitized. The MPLS VRF feature requirement is a meaningful limiting factor - only LibreNMS deployments actively monitoring MPLS VPN infrastructure will have VRF pages populated and rendered. No KEV listing and no POC are noted, keeping exploitation probability low for opportunistic attackers, but the prerequisite of controlling a managed device is realistic in supply-chain, rogue-device, or insider threat scenarios. Overall: medium-priority for network operators running MPLS-capable LibreNMS environments; lower priority for environments without MPLS VPN monitoring. |
| Exploit ScenarioDerived | An attacker who has compromised or controls a router running MPLS VPN that is being actively polled by LibreNMS crafts SNMP responses containing a JavaScript payload in the mplsVpnVrfDescription OID value. On the next LibreNMS polling cycle, the payload is stored in the LibreNMS database. When any authenticated LibreNMS user navigates to the VRF display page for that device, the injected script executes in their browser, potentially exfiltrating session cookies to an attacker-controlled endpoint. No public exploit code is identified at time of analysis. |
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 before 26.5.0 allows an attacker who controls any SNMP-monitored network device to inject persistent JavaScript into the LibreNMS web interface via poisoned VRF-related SNMP fields. The injected payload executes in the browser of any LibreNMS user who views VRF display pages, enabling session hijacking, credential theft, or UI redressing. No public exploit has been identified at time of analysis, though the attack surface (SNMP-fed stored XSS with network-facing ingestion) is straightforwardly exploitable for anyone with access to a monitored device.
RemediationAI
Upgrade LibreNMS to version 26.5.0 or later, which resolves the unsanitized rendering of SNMP-sourced VRF fields. The vendor advisory is at https://github.com/librenms/librenms/security/advisories/GHSA-g993-wffj-m3gv. If immediate upgrade is not possible, two compensating controls are available with trade-offs: first, disable SNMP polling for MPLS VPN VRF OIDs (mplsVpnVrfTable entries) via LibreNMS polling configuration - this prevents ingestion of the poisoned data but also disables VRF visibility for all monitored devices. Second, restrict access to VRF display pages via web server ACLs or LibreNMS role-based access control to high-trust users only - this limits the blast radius but does not prevent payload storage. Neither workaround eliminates the underlying sanitization flaw.
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 an open-source network monitoring system that polls network devices via SNMP to collect operational data. The affected code path renders MPLS VPN VRF data - specifically the mplsVpnVrfDescription, vrf_name, and mplsVpnVrfRouteDistinguisher SNMP OID values - directly into VRF display pages without HTML encoding or output sanitization. CWE-79 (Improper Neutralization of Input During Web Page Generation) is the root cause: SNMP-sourced strings are treated as trusted data and injected into the DOM without escaping. CPE cpe:2.3:a:librenms:librenms:*:*:*:*:*:*:*:* confirms all LibreNMS versions prior to 26.5.0 are affected. Because SNMP polling is an automated, server-side background process, the poisoned payload enters persistent storage without any user interaction at ingestion time - a defining characteristic of stored (Type II) XSS.
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:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Attacker needs no LibreNMS privileges (PR:N); stored XSS crosses session boundary (S:C); victim must view VRF page (UI:R); no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
LibreNMS before 26.5.0 contains stored cross-site scripting vulnerabilities in VRF display pages where mplsVpnVrfDescription, vrf_name, and mplsVpnVrfRouteDistinguisher fields from SNMP polling are rendered without sanitization. Attackers controlling a monitored network device can inject arbitrary JavaScript through SNMP responses that executes in the browser of any user viewing VRF-related pages.
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.
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-69028
GHSA-3cvh-rhc6-7rhc
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB