LibreNMS vulnerable to Stored Cross-site Scripting through unsanitized /device-groups name
Description
LibreNMS is an auto-discovering PHP/MySQL/SNMP based network monitoring tool. In versions 26.1.1 and below, the device group name is not sanitized, allowing attackers with admin privileges to perform Stored Cross-Site Scripting (XSS) attacks. When a user adds a device group, an HTTP POST request is sent to the Request-URI "/device-groups". The name of the newly created device group is stored in the value of the name parameter. After the device group is created, the entry is displayed along with relevant buttons such as Rediscover Devices, Edit, and Delete. This issue has been fixed in version 26.2.0.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
librenms/librenmsPackagist | < 26.2.0 | 26.2.0 |
Affected products
2Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-5pqf-54qp-32wxghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-26991ghsaADVISORY
- github.com/librenms/librenms/commit/64b31da444369213eb4559ec1c304ebfaa0ba12cghsax_refsource_MISCWEB
- github.com/librenms/librenms/pull/19041ghsax_refsource_MISCWEB
- github.com/librenms/librenms/releases/tag/26.2.0ghsax_refsource_MISCWEB
- github.com/librenms/librenms/security/advisories/GHSA-5pqf-54qp-32wxghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.