{"id":"CVE-2026-84188","aliases":["CVE-2026-84188","GHSA-7cj5-v4pp-v632"],"related":[],"kind":"vulnerability","state":"published","title":"librenms before 26.7.0 Stored XSS via graph_descr settings","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Summary\nThe `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.\n\n### CVSS\n`CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N` — **4.8 Medium**\n\n### Details\n```php\n// graphs.inc.php:194\necho LibrenmsConfig::get('graph_descr.' . $vars['type']);\n```\n\n### PoC\n```\nPUT /settings/graph_descr.device_processor\n{\"value\": \"<img src=x onerror=\\\"alert('ADV-15')\\\">\"}\n\nGET /graphs?type=device_processor\n→ <img src=x onerror=\"alert('ADV-15')\">\n```\n\n### Fix\n```php\necho htmlspecialchars(LibrenmsConfig::get('graph_descr.' . $vars['type']), ENT_QUOTES, 'UTF-8');\n```\n\n### Prerequisite\nAdmin session to set the config value.","format":"markdown","source":"ghsa"}],"published":"2026-08-18T21:17:20.000Z","modified":"2026-10-08T16:17:54.313Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":4.8,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"26.7.0","status":"affected"},{"type":"semver","version":"26.7.0","status":"unaffected"}],"vendor":"librenms","product":"librenms","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"26.7.0"}],"ecosystem":"Packagist","package":"librenms/librenms","purl":"pkg:composer/librenms/librenms","source":"ghsa"}],"references":[{"url":"https://github.com/librenms/librenms/security/advisories/GHSA-7cj5-v4pp-v632","tags":["exploit","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vulncheck.com/advisories/librenms-before-26.7.0-stored-xss-via-graph-descr-settings","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/librenms/librenms","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/librenms/librenms/releases/tag/26.7.0","tags":["web"],"sources":["ghsa"]}],"credits":["k1bana"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-09-02T14:51:28.012Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-84188","url":"https://www.cve.org/CVERecord?id=CVE-2026-84188","licence":"CVE Terms of Use","modified":"2026-10-08T15:25:42.329Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-7cj5-v4pp-v632","url":"https://github.com/advisories/GHSA-7cj5-v4pp-v632","licence":"CC-BY-4.0","modified":"2026-09-02T03:55:41.436Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-84188","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-84188","licence":"Public domain","modified":"2026-10-08T16:17:54.313Z"}],"updatedAt":"2026-11-25T22:59:35.923Z","epss":{"score":0.0022,"percentile":0.13351,"date":"2026-12-01T12:00:22.000Z"}}