Description
LibreNMS through 26.2.0 contains a stored cross-site scripting vulnerability in legacy PHP template pages that render unescaped SNMP-sourced data fields including BGP peer descriptions, VRF names, process information, and SLA tags. Attackers with device management access or network access to enroll a rogue SNMP device can inject malicious JavaScript that executes when admins view affected routing and device pages, enabling credential theft and CSRF token exfiltration.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| librenms | librenms | ≤ 26.2.0 | — |
References
- GitHub Security Advisory (GHSA-v5jp-f342-234h) vendor-advisory
- VulnCheck Advisory: LibreNMS through 26.2.0 Stored Cross-Site Scripting via SNMP third-party-advisory