CVE-2026-84188

librenms before 26.7.0 Stored XSS via graph_descr settings

Published Sep 1, 2026 CVSS 4.0 · 4.8 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

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'}

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 8, 2026, 3:25 PM
Reserved
Sep 1, 2026, 10:51 AM
Status
Deferred
Published
Sep 1, 2026, 12:17 PM
Modified
Oct 8, 2026, 4:17 PM