CVE-2025-47931: LibreNMS stored Cross-site Scripting vulnerability in poller group name

Published May 17, 2025
·
Updated

LibreNMS v25.4.0 suffers from Stored Cross-Site Scripting (XSS) Vulnerability in the 'group name' parameter of the 'http://localhost/poller/groups' form. This vulnerability allows attackers to inject malicious scripts into web pages viewed by other users.

---------------------------------POC----------------------------- Before Setting: Enable 'distributedpoller' in http://localhost/settings/poller/distributed 1. Attacker creates a new poller group and injects the payload in the 'group name' parameter payload: <script>alert('XSS')</script> 2. Victim navigates to the 'http://localhost/addhost' to add a new host 3. The payload is executed

code sink: https://github.com/librenms/librenms/blob/25.4.0/includes/html/pages/addhost.inc.php#L284

Other sources

LibreNMS is PHP/MySQL/SNMP based network monitoring software. LibreNMS v25.4.0 and prior suffers from a Stored Cross-Site Scripting (XSS) Vulnerability in the group name parameter of the http://localhost/poller/groups form. This vulnerability allows attackers to inject malicious scripts into web pages viewed by other users. LibreNMS v25.5.0 contains a patch for the issue.

MITRE

Affected Software

3 affected componentsFixes available
librenms librenms<25.5.0
composer/librenms/librenms<25.5.0
25.5.0
librenms librenms<25.5.0

Event History

May 17, 2025
CVE Published
via MITRE·03:51 PM
Data Sourced
via MITRE·03:51 PM
DescriptionWeakness
May 19, 2025
Advisory Published
via GitHub·04:22 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-47931?

The severity of CVE-2025-47931 is classified as medium due to its impact on stored cross-site scripting.

2

How do I fix CVE-2025-47931?

To fix CVE-2025-47931, upgrade LibreNMS to version 25.5.0 or later.

3

What systems are affected by CVE-2025-47931?

CVE-2025-47931 affects LibreNMS versions up to and including version 25.4.0.

4

What type of vulnerability is CVE-2025-47931?

CVE-2025-47931 is a Stored Cross-Site Scripting (XSS) vulnerability.

5

What can attackers do with CVE-2025-47931?

Attackers can exploit CVE-2025-47931 to inject malicious scripts into the `group name` parameter of the application.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203