CVE-2025-62365 LibreNMS vulnerable to Reflected-XSS in `report_this` function
Attackers can execute arbitrary scripts in victim browsers via reflected XSS in LibreNMS, potentially leading to session hijacking or data theft.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-62365?
CVE-2025-62365 is a medium-severity cross-site scripting vulnerability in Librenms Librenms, published on 13 Oct 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-79
Which versions are affected by CVE-2025-62365?
2 open source packages ship an affected version, including librenms/librenms. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
librenms/librenms Packagist | All versions | 25.7.0 |
librenms/librenms Packagist | All versions | 25.7.0 |
Products include Librenms Librenms.
How do I fix CVE-2025-62365?
Upgrade librenms/librenms to 25.7.0 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2025-62365 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-62365 exists.
Other vulnerabilities in Librenms Librenms
Sources
Also known as GHSA-86rg-8hc8-v82p.