Description
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.
Published: 2026-09-01
Score: 5.8 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

LibreNMS versions up to and including 26.2.0 contain a stored cross‑site scripting flaw in legacy PHP template pages that render unescaped SNMP‑sourced data fields such as BGP peer descriptions, VRF names, process information, and SLA tags. When an attacker with device management privileges or network access can enroll a rogue SNMP device, malicious JavaScript can be injected into these fields. The injected script runs in the context of an administrator’s session when the affected routing or device pages are viewed, enabling credential theft and exfiltration of CSRF tokens. This constitutes a direct threat to confidentiality and integrity of administrative accounts, as well as potential privilege escalation. Affected systems The vulnerability exists in LibreNMS releases up to 26.2.0. The impact is limited to installations that use the legacy PHP template rendering mechanism for SNMP‑derived data. Systems that have upgraded beyond 26.2.0, or that have disabled legacy templates, are not affected. Risk and exploitability The CVSS score of 5.8 indicates moderate severity. EPSS is not available. The issue is not listed in the CISA KEV catalog. The likely attack vector is network or device‑management access that allows an attacker to introduce a rogue SNMP device or modify existing SNMP data, after which the XSS payload is stored and executed in the web application context.

Affected Systems

LibreNMS for versions up to 26.2.0

Risk and Exploitability

The CVSS score of 5.8 reflects a moderate severity, while the EPSS score is not reported. The vulnerability is not listed in the CISA KEV catalog. Attackers can exploit the flaw by enrolling a rogue SNMP device or manipulating SNMP data on systems that use legacy PHP templates, leading to execution of malicious JavaScript in an administrator’s browser during routine page views.

Generated by OpenCVE AI on September 1, 2026 at 12:22 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade LibreNMS to the latest stable release that removes the legacy template pages or patches the XSS flaw
  • Restrict SNMP device enrollment so that only trusted devices can be added or monitored, limiting the ability for a rogue device to inject data
  • Ensure that all SNMP‑sourced data fields are properly escaped or sanitized before rendering in the web interface

Generated by OpenCVE AI on September 1, 2026 at 12:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 01 Sep 2026 11:45:00 +0000

Type Values Removed Values Added
Description 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.
Title LibreNMS through 26.2.0 Stored Cross-Site Scripting via SNMP
First Time appeared Librenms
Librenms librenms
Weaknesses CWE-79
CPEs cpe:2.3:a:librenms:librenms:*:*:*:*:*:*:*:*
Vendors & Products Librenms
Librenms librenms
References
Metrics cvssV4_0

{'score': 5.8, 'vector': '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'}


Subscriptions

Librenms Librenms
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-01T11:33:57.100Z

Reserved: 2026-09-01T10:51:59.729Z

Link: CVE-2026-84193

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-01T12:17:48.867

Modified: 2026-09-01T12:17:48.867

Link: CVE-2026-84193

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-01T12:45:12Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')