{"id":"CVE-2025-62365","aliases":["GHSA-86rg-8hc8-v82p"],"url":"https://o3.security/vulnerability/CVE-2025-62365","summary":"LibreNMS vulnerable to Reflected-XSS in `report_this` function","details":"### Summary\nReflected-XSS in `report_this` function in `librenms/includes/functions.php`\n\n### Details\nRecently, it was discovered that  the `report_this` function had improper filtering (`htmlentities` function was incorrectly used in a href environment), which caused the `project_issues` parameter to trigger an XSS vulnerability.\n\nThe Vulnerable Sink:\nhttps://github.com/librenms/librenms/blob/master/includes/functions.php#L444\n\n### PoC\nGET\n`project_issues=javascript:alert(document.cookie)`\n\n### Impact\nXSS vulnerabilities allow attackers to execute malicious scripts in users' browsers, enabling unauthorized access to sensitive data, session hijacking, or malware distribution.\n\n### Suggestion\nIt is recommended to filter dangerous protocols, e.g. `javascript:`/`file:`.","published":"2025-10-13T21:43:49.802Z","modified":"2026-10-28T02:30:45.501700252Z","cvss":null,"epss":{"score":0.00231,"percentile":0.13675,"asOf":"2026-08-24"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"librenms/librenms","fixedVersion":"25.7.0"}],"fix":{"url":"https://github.com/librenms/librenms/commit/30d3dd7e5f5e22a8c23c9db3ad90a731c005b008","label":"librenms/librenms@30d3dd7"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/62xxx/CVE-2025-62365.json"},{"type":"ADVISORY","url":"https://github.com/librenms/librenms/security/advisories/GHSA-86rg-8hc8-v82p"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-62365"},{"type":"FIX","url":"https://github.com/librenms/librenms/commit/30d3dd7e5f5e22a8c23c9db3ad90a731c005b008"},{"type":"PACKAGE","url":"https://github.com/librenms/librenms"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-28T02:30:45.501700252Z"}}