CVE-2026-84188
JSON

4.8medium

librenms before 26.7.0 Stored XSS via graph_descr settings

Severity
4.8medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.22% (higher than 13% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck
Also known as
GHSA-7cj5-v4pp-v632

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.

Affected

Product or packageVersionsReported by
librenms librenmsbefore 26.7.0
Not affected: 26.7.0
CVE List
librenms/librenms (Packagist)before 26.7.0GitHub Advisory Database

All scores

VulnCheck4.8medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
VulnCheck4.8medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
GitHub4.8medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database
Summary

The graph_descr.<graphtype> family of settings is echoed verbatim without htmlspecialchars() in includes/html/pages/graphs.inc.php:194. Any admin can store a malicious HTML payload that executes in every authenticated user's browser viewing that graph type.

CVSS

CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N — 4.8 Medium

Details
// graphs.inc.php:194
echo LibrenmsConfig::get('graph_descr.' . $vars['type']);
PoC
PUT /settings/graph_descr.device_processor
{"value": "<img src=x onerror=\"alert('ADV-15')\">"}

GET /graphs?type=device_processor
→ <img src=x onerror="alert('ADV-15')">
Fix
echo htmlspecialchars(LibrenmsConfig::get('graph_descr.' . $vars['type']), ENT_QUOTES, 'UTF-8');
Prerequisite

Admin session to set the config value.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-84188 changed 2026-10-08CVE Terms of Use
GitHub Advisory DatabaseGHSA-7cj5-v4pp-v632 changed 2026-09-02CC-BY-4.0
NVDCVE-2026-84188 changed 2026-10-08Public domain