{"id":"CVE-2025-47931","aliases":["GHSA-hxw5-9cc5-cmw5"],"url":"https://o3.security/vulnerability/CVE-2025-47931","summary":"LibreNMS stored Cross-site Scripting vulnerability in poller group name","details":"### 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.\n\n## ---------------------------------POC-----------------------------\nBefore Setting: Enable 'distributed_poller' in http://localhost/settings/poller/distributed\n1. Attacker creates a new poller group and injects the payload in the 'group name' parameter\n```\npayload: <script>alert('XSS')</script>\n```\n2. Victim navigates to the 'http://localhost/addhost' to add a new host\n3. The payload is executed\n\ncode sink:\nhttps://github.com/librenms/librenms/blob/25.4.0/includes/html/pages/addhost.inc.php#L284","published":"2025-05-17T15:51:17.277Z","modified":"2026-08-12T03:51:36.949964014Z","cvss":null,"epss":{"score":0.119,"percentile":0.95896,"asOf":"2026-09-17"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"librenms/librenms","fixedVersion":"25.5.0"}],"fix":{"url":"https://github.com/librenms/librenms/commit/88fe1a7abdb500d9a2d4c45f9872df54c9ff8062","label":"librenms/librenms@88fe1a7"},"references":[{"type":"WEB","url":"https://github.com/librenms/librenms/blob/25.4.0/includes/html/pages/addhost.inc.php#L284"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/47xxx/CVE-2025-47931.json"},{"type":"ADVISORY","url":"https://github.com/librenms/librenms/security/advisories/GHSA-hxw5-9cc5-cmw5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-47931"},{"type":"FIX","url":"https://github.com/librenms/librenms/commit/88fe1a7abdb500d9a2d4c45f9872df54c9ff8062"},{"type":"FIX","url":"https://github.com/librenms/librenms/pull/17603"},{"type":"PACKAGE","url":"https://github.com/librenms/librenms"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:36.949964014Z"}}