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

Low 2.1 Published Updated

Attackers can inject malicious scripts via poller group names, potentially compromising other users' sessions in LibreNMS.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-47931?

CVE-2025-47931 is a low-severity cross-site scripting vulnerability in Librenms Librenms, published on 17 May 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-79

Which versions are affected by CVE-2025-47931?

2 open source packages ship an affected version, including librenms/librenms. It affects 1 product.

PackageAffectedFixed in
librenms/librenms PackagistAll versions25.5.0
librenms/librenms PackagistAll versions25.5.0

Products include Librenms Librenms.

How do I fix CVE-2025-47931?

Upgrade librenms/librenms to 25.5.0 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2025-47931 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-47931 exists.

All Librenms Librenms vulnerabilities

Sources

Also known as GHSA-hxw5-9cc5-cmw5.

Is CVE-2025-47931 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free