LibreNMS versions prior to 26.3.1 contain a stored cross-site scripting (XSS) vulnerability in legacy PHP templates that output SNMP-sourced and syslog-sourced data without proper escaping. This flaw allows an attacker who controls a monitored network device to inject arbitrary JavaScript code via SNMP interface descriptions or syslog program fields. The malicious script executes when authenticated users view the affected pages, potentially compromising their session or data.