{"id":"CVE-2025-23201","aliases":["CVE-2025-23201","GHSA-g84x-g96g-rcjc"],"related":[],"kind":"vulnerability","state":"published","title":"Reflected Cross-site Scripting on error alert in librenms","summary":"librenms is a community-based GPL-licensed network monitoring system. Affected versions are subject to Cross-site Scripting (XSS) on the parameters:`/addhost` -> param: community. Librenms versions up to 24.10.1 allow remote attackers to inject malicious scripts. When a user views or interacts with the page displaying the data, the malicious script executes immediately, leading to potential unauthorized actions or data exposure. This issue has been addressed in release version 24.11.0. Users are advised to upgrade. There are no known workarounds for this vulnerability.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"librenms is a community-based GPL-licensed network monitoring system. Affected versions are subject to Cross-site Scripting (XSS) on the parameters:`/addhost` -> param: community. Librenms versions up to 24.10.1 allow remote attackers to inject malicious scripts. When a user views or interacts with the page displaying the data, the malicious script executes immediately, leading to potential unauthorized actions or data exposure. This issue has been addressed in release version 24.11.0. Users are advised to upgrade. There are no known workarounds for this vulnerability.","source":"cvelist"},{"lang":"en","text":"XSS on the parameters:`/addhost` -> param: community\n\n\nof Librenms versions 24.10.1 ([https://github.com/librenms/librenms](https://github.com/librenms/librenms)) allows remote attackers to inject malicious scripts. When a user views or interacts with the page displaying the data, the malicious script executes immediately, leading to potential unauthorized actions or data exposure.\n\n\n**Proof of Concept:**\n1. Navigate to the /addhost path.\n2. Fill in all required fields.\n3. In the Community field, enter the following payload: `\"><img src=a onerror=\"alert(1)\">`.\n![image](https://github.com/user-attachments/assets/025a7692-e730-4e3b-bca7-761ed2a60cf7)\n\n4. Submit the form to save changes.\n5 The script will execute when the error alert \"No reply with community + payload\" appears.\n![image](https://github.com/user-attachments/assets/4663e24a-4ff7-42f4-9c3d-3c5b5bf34017)\n\n\n\n**Impact:**\n\nExecution of Malicious Code","format":"markdown","source":"ghsa"},{"lang":"es","text":"librenms es un sistema de monitorización de redes con licencia GPL basado en la comunidad. Las versiones afectadas están sujetas a Cross-site Scripting (XSS) en los parámetros: `/addhost` -&gt; param: community. Las versiones de Librenms hasta la 24.10.1 permiten a atacantes remotos inyectar scripts maliciosos. Cuando un usuario visualiza o interactúa con la página que muestra los datos, el script malicioso se ejecuta inmediatamente, lo que lleva a posibles acciones no autorizadas o exposición de datos. Este problema se ha solucionado en la versión 24.11.0. Se recomienda a los usuarios que actualicen. No existen workarounds conocidos para esta vulnerabilidad.","source":"nvd"}],"published":"2025-01-16T17:33:10.000Z","modified":"2026-06-17T08:52:35.473Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"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":"< 24.11.0","status":"affected"}],"vendor":"librenms","product":"librenms","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"24.11.0"}],"ecosystem":"Packagist","package":"librenms/librenms","purl":"pkg:composer/librenms/librenms","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"24.11.0"}],"vendor":"librenms","product":"librenms","cpe":"cpe:2.3:a:librenms:librenms:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/librenms/librenms/security/advisories/GHSA-g84x-g96g-rcjc","tags":["exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-23201","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-01-17T15:01:52.074Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-23201","url":"https://www.cve.org/CVERecord?id=CVE-2025-23201","licence":"CVE Terms of Use","modified":"2025-02-12T20:31:24.886Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-g84x-g96g-rcjc","url":"https://github.com/advisories/GHSA-g84x-g96g-rcjc","licence":"CC-BY-4.0","modified":"2025-03-25T15:53:49.259Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-23201","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-23201","licence":"Public domain","modified":"2026-06-17T08:52:35.473Z"}],"updatedAt":"2026-11-25T22:58:53.407Z","epss":{"score":0.00425,"percentile":0.38702,"date":"2026-12-01T12:00:22.000Z"}}