{"id":"CVE-2025-23201","aliases":["GHSA-g84x-g96g-rcjc"],"url":"https://o3.security/vulnerability/CVE-2025-23201","summary":"Reflected Cross-site Scripting on error alert in librenms","details":"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","published":"2025-01-16T22:18:51.754Z","modified":"2026-10-28T02:30:59.819087735Z","cvss":{"score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"librenms/librenms","fixedVersion":"24.11.0"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/23xxx/CVE-2025-23201.json"},{"type":"ADVISORY","url":"https://github.com/librenms/librenms/security/advisories/GHSA-g84x-g96g-rcjc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-23201"},{"type":"PACKAGE","url":"https://github.com/librenms/librenms"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-28T02:30:59.819087735Z"}}