{"id":"CVE-2026-84189","aliases":["CVE-2026-84189","GHSA-7gww-x7fh-jf9j"],"related":[],"kind":"vulnerability","state":"published","title":"LibreNMS before 26.7.0 Stored XSS via Oxidized API","summary":"LibreNMS through 26.4.0 renders JSON fields (name, ip, model, author, commit message) returned by the admin-configurable Oxidized integration URL (oxidized.url) into the device showconfig page without applying htmlspecialchars(). An administrator who points the Oxidized URL at an attacker-controlled server (SSRF) can cause it to return malicious JSON, resulting in stored/persistent cross-site scripting affecting all users who view any device's showconfig tab. Fixed in 26.7.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"LibreNMS through 26.4.0 renders JSON fields (name, ip, model, author, commit message) returned by the admin-configurable Oxidized integration URL (oxidized.url) into the device showconfig page without applying htmlspecialchars(). An administrator who points the Oxidized URL at an attacker-controlled server (SSRF) can cause it to return malicious JSON, resulting in stored/persistent cross-site scripting affecting all users who view any device's showconfig tab. Fixed in 26.7.0.","source":"cvelist"},{"lang":"en","text":"### Summary\nThe Oxidized integration URL (`oxidized.url`) is admin-configurable. LibreNMS fetches device info and version history from that URL and renders JSON fields (`name`, `ip`, `model`, `author`, commit message) into HTML without `htmlspecialchars()`. An admin pointing the URL at an attacker-controlled server achieves persistent XSS affecting all users who view any device's showconfig tab.\n\n### CVSS\n`CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N` — **8.1 High**\n\n### Details\n```php\n// includes/html/pages/device/showconfig.inc.php:276-278\necho '<li ...><strong>Node:</strong> ' . $node_info['name'] . '</li>';\necho '<li ...><strong>IP:</strong> '   . $node_info['ip']   . '</li>';\necho '<li ...><strong>Model:</strong> '. $node_info['model'] . '</li>';\n// lines 349, 353: author and commit message also unescaped\n```\n\n### Attack chain\n1. Admin sets `oxidized.url` to `http://attacker.example.com/`.\n2. Attacker server returns `{\"name\":\"<img src=x onerror=alert(1)>\",\"ip\":\"x\",\"model\":\"x\"}`.\n3. Any user viewing any device showconfig tab triggers the XSS.\n\n### PoC\nMock Oxidized server confirmed in response:\n```\n[!!!] CONFIRMED — ...<strong>Node:</strong> <img src=x onerror=\"alert('SSRF-XSS-oxidized')\">...\n```\n\n### Fix\n```php\necho '<li ...><strong>Node:</strong> ' . htmlspecialchars($node_info['name'], ENT_QUOTES, 'UTF-8') . '</li>';\n```\nApply to all fields from `$node_info`, `$author`, `$msg`.\n\n### Prerequisite\nAdmin session. Oxidized integration must be enabled.","format":"markdown","source":"ghsa"}],"published":"2026-08-18T21:17:23.000Z","modified":"2026-10-08T16:17:54.473Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N","score":9.2,"rating":"CRITICAL"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N","score":9.2,"rating":"CRITICAL"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N","score":8.1,"rating":"HIGH"}],"cwes":["CWE-79","CWE-918"],"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-7gww-x7fh-jf9j","tags":["exploit","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vulncheck.com/advisories/librenms-before-26.7.0-stored-xss-via-oxidized-api","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":"total","date":"2026-09-04T01:50:21.295Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-84189","url":"https://www.cve.org/CVERecord?id=CVE-2026-84189","licence":"CVE Terms of Use","modified":"2026-10-08T15:25:42.828Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-7gww-x7fh-jf9j","url":"https://github.com/advisories/GHSA-7gww-x7fh-jf9j","licence":"CC-BY-4.0","modified":"2026-09-02T03:55:41.484Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-84189","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-84189","licence":"Public domain","modified":"2026-10-08T16:17:54.473Z"}],"updatedAt":"2026-11-25T22:59:35.923Z","epss":{"score":0.00382,"percentile":0.2403,"date":"2026-11-30T12:00:22.000Z"}}