It’s a (SNMP) Trap: Gaining Code Execution on LibreNMS
LibreNMS versions up to 22.10.0 contain an unauthenticated stored XSS vulnerability in the eventlog when SNMP is enabled, because the HPFault trap handler uses an attacker-controlled value for the event type without encoding. An attacker can send a spoofed SNMP trap to inject JavaScript that executes when an admin views the eventlog, and this can be leveraged via the Alert Template feature to achieve remote code execution.
LibreNMS