{"id":"CVE-2025-47931","aliases":["CVE-2025-47931","GHSA-hxw5-9cc5-cmw5"],"related":[],"kind":"vulnerability","state":"published","title":"LibreNMS stored Cross-site Scripting vulnerability in poller group name","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### 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","format":"markdown","source":"ghsa"},{"lang":"es","text":"LibreNMS es un software de monitorización de red basado en PHP/MySQL/SNMP. LibreNMS v25.4.0 y versiones anteriores presenta una vulnerabilidad de Cross-Site Scripting (XSS) almacenado en el parámetro `group name` del formato `http://localhost/poller/groups`. Esta vulnerabilidad permite a los atacantes inyectar scripts maliciosos en páginas web visitadas por otros usuarios. LibreNMS v25.5.0 incluye un parche para solucionar este problema.","source":"nvd"}],"published":"2025-05-17T15:51:17.277Z","modified":"2026-06-17T09:28:51.250Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P","score":2.1,"rating":"LOW"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P","score":2.1,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P","rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 25.5.0","status":"affected"}],"vendor":"librenms","product":"librenms","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"25.5.0"}],"ecosystem":"Packagist","package":"librenms/librenms","purl":"pkg:composer/librenms/librenms","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"25.5.0"}],"vendor":"librenms","product":"librenms","cpe":"cpe:2.3:a:librenms:librenms:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/librenms/librenms/security/advisories/GHSA-hxw5-9cc5-cmw5","tags":["exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/librenms/librenms/pull/17603","tags":["issue-tracking","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/librenms/librenms/commit/88fe1a7abdb500d9a2d4c45f9872df54c9ff8062","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/librenms/librenms/blob/25.4.0/includes/html/pages/addhost.inc.php#L284","tags":["product","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-47931","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/librenms/librenms","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-05-19T20:17:23.106Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-47931","url":"https://www.cve.org/CVERecord?id=CVE-2025-47931","licence":"CVE Terms of Use","modified":"2025-05-19T20:17:46.155Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hxw5-9cc5-cmw5","url":"https://github.com/advisories/GHSA-hxw5-9cc5-cmw5","licence":"CC-BY-4.0","modified":"2025-05-19T17:12:12.339Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-47931","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-47931","licence":"Public domain","modified":"2026-06-17T09:28:51.250Z"}],"updatedAt":"2026-11-25T22:58:58.171Z","epss":{"score":0.10122,"percentile":0.95753,"date":"2026-12-01T12:00:22.000Z"}}