{"id":"CVE-2025-62365","aliases":["CVE-2025-62365","GHSA-86rg-8hc8-v82p"],"related":[],"kind":"vulnerability","state":"published","title":"LibreNMS vulnerable to Reflected-XSS in `report_this` function","summary":"LibreNMS is an open-source, PHP/MySQL/SNMP-based network monitoring system. Prior to 25.7.0, there is a reflected-XSS in `report_this` function in `librenms/includes/functions.php`. The `report_this` function had improper filtering (`htmlentities` function was incorrectly use in a href environment), which caused the `project_issues` parameter to trigger an XSS vulnerability. This vulnerability is fixed in 25.7.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"LibreNMS is an open-source, PHP/MySQL/SNMP-based network monitoring system. Prior to 25.7.0, there is a reflected-XSS in `report_this` function in `librenms/includes/functions.php`. The `report_this` function had improper filtering (`htmlentities` function was incorrectly use in a href environment), which caused the `project_issues` parameter to trigger an XSS vulnerability. This vulnerability is fixed in 25.7.0.","source":"cvelist"},{"lang":"en","text":"### 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:`.","format":"markdown","source":"ghsa"},{"lang":"es","text":"LibreNMS es un sistema de monitoreo de red de código abierto, basado en PHP/MySQL/SNMP. Antes de 25.7.0, existe un XSS reflejado en la función 'report_this' en 'librenms/includes/functions.php'. La función 'report_this' tenía un filtrado inadecuado (la función 'htmlentities' fue utilizada incorrectamente en un entorno href), lo que causó que el parámetro 'project_issues' desencadenara una vulnerabilidad XSS. Esta vulnerabilidad está corregida en 25.7.0.","source":"nvd"}],"published":"2025-10-13T21:43:49.802Z","modified":"2026-10-19T16:10:00.260Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P","score":5.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P","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":"< 25.7.0","status":"affected"}],"vendor":"librenms","product":"librenms","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"25.7.0"}],"ecosystem":"Packagist","package":"librenms/librenms","purl":"pkg:composer/librenms/librenms","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"25.7.0"}],"vendor":"librenms","product":"librenms","cpe":"cpe:2.3:a:librenms:librenms:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/librenms/librenms/security/advisories/GHSA-86rg-8hc8-v82p","tags":["exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/librenms/librenms/commit/30d3dd7e5f5e22a8c23c9db3ad90a731c005b008","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-62365","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-10-14T15:16:34.433Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-62365","url":"https://www.cve.org/CVERecord?id=CVE-2025-62365","licence":"CVE Terms of Use","modified":"2025-10-14T15:16:41.306Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-86rg-8hc8-v82p","url":"https://github.com/advisories/GHSA-86rg-8hc8-v82p","licence":"CC-BY-4.0","modified":"2025-10-14T01:25:14.242Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-62365","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-62365","licence":"Public domain","modified":"2026-10-19T16:10:00.260Z"}],"updatedAt":"2026-11-25T22:59:05.942Z","epss":{"score":0.00247,"percentile":0.17135,"date":"2026-12-02T12:00:21.000Z"}}