Description
LibreNMS versions <= 26.4.0 contain a stored cross-site scripting vulnerability in the graph_descr.<graphtype> configuration settings, which are echoed verbatim without HTML escaping in includes/html/pages/graphs.inc.php. An administrator can store a malicious HTML payload that executes in the browser of any authenticated user who views the affected graph type. The issue is fixed in version 26.7.0.
Published: 2026-09-01
Score: 4.8 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

LibreNMS versions up to 26.4.0 store the graph_descr configuration value, which is later rendered directly in page output without HTML escaping. An attacker who can create or edit a graph description within the admin interface can inject a malicious script that runs in the browser of any authenticated user who views the affected graph type. This stored XSS flaw (CWE‑79) can lead to theft of user credentials, session hijacking, or defacement of the web interface.

Affected Systems

The vulnerability exists in librenms:librenms releases <= 26.4.0. It is fixed in version 26.7.0 and later. Systems running older releases that allow an administrator to configure graph descriptions are susceptible.

Risk and Exploitability

With a CVSS score of 4.8 the risk is considered moderate. The exploit is not publicly available (EPSS not provided) and the issue is not listed in the CISA KEV catalog. Successful exploitation requires administrative privileges to set the graph description, after which any authenticated user who accesses that graph will be exposed to the injected script. The attack surface is therefore limited to environments where administrators can edit graph settings.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to LibreNMS 26.7.0 or a newer release that removes the unsanitized rendering of graph_descr values.
  • If an upgrade cannot be performed immediately, delete or disable the graph_descr configuration entries for all graph types so that no malicious payload can be stored.
  • Apply custom HTML escaping or input sanitization to the graph description data before it is echoed in graphs.inc.php, ensuring that any script tags are neutralized.

Generated by OpenCVE AI on September 1, 2026 at 12:24 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 versions <= 26.4.0 contain a stored cross-site scripting vulnerability in the graph_descr.<graphtype> configuration settings, which are echoed verbatim without HTML escaping in includes/html/pages/graphs.inc.php. An administrator can store a malicious HTML payload that executes in the browser of any authenticated user who views the affected graph type. The issue is fixed in version 26.7.0.
Title librenms before 26.7.0 Stored XSS via graph_descr settings
First Time appeared Librenms
Librenms librenms
Weaknesses CWE-79
CPEs cpe:2.3:a:librenms:librenms:*:*:*:*:*:*:*:*
Vendors & Products Librenms
Librenms librenms
References
Metrics cvssV3_1

{'score': 4.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 4.8, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N'}


Subscriptions

Librenms Librenms
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

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

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

Link: CVE-2026-84188

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-84188

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-01T12:30:04Z

Weaknesses
  • CWE-79

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