LibreNMS Authenticated Cross-Site Scripting Vulnerability on Showconfig Page

Vulnerability

A cross-site scripting (XSS) vulnerability has been identified in LibreNMS versions prior to 26.3.0. This issue resides on the showconfig page and requires administrative privileges for exploitation. When successfully exploited, the vulnerability allows XSS attacks to be executed against other users who have access to the page.

Impact

Exploitation of this vulnerability allows for cross-site scripting attacks, where an attacker can inject malicious scripts that are executed in the context of the user's browser.

Reproduction

To reproduce this vulnerability, an admin user must first enable RANCID Integration and configure a RANCID repository URL that points to a Git repository. Once these settings are in place, the admin can inject an XSS payload, such as an image tag with an 'onerror' event, into the RANCID Repository URL field. After saving the configuration, the injected script will be executed when the showconfig page is accessed.

Added: Apr 13, 2026, 11:19 AM
Updated: Apr 13, 2026, 11:19 AM

Vulnerability Rating

Custom Algorithm
spread
5.0
impact
1.7
exploitability
5.9
remediation
0.0
relevance
5.8
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.