CVE-2025-65013 LibreNMS vulnerable to Reflected Cross-Site Scripting (XSS) in endpoint `/maps/nodeimage` parameter `Image Name`
Attackers can execute arbitrary JavaScript in victims' browsers via a crafted URL in LibreNMS, potentially leading to session hijacking or data theft.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2025-65013?
CVE-2025-65013 is a medium-severity cross-site scripting vulnerability in Librenms Librenms, published on 18 Nov 2025. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
LibreNMS is an auto-discovering PHP/MySQL/SNMP based network monitoring tool. Prior to version 25.11.0, a reflected cross-site scripting (XSS) vulnerability was identified in the LibreNMS application at the /maps/nodeimage endpoint. The Image Name parameter is reflected in the HTTP response without proper output encoding or sanitization, allowing an attacker to craft a URL that, when visited by a victim, causes arbitrary JavaScript execution in the victim’s browser. This issue has been patched in version 25.11.0.
Weakness: CWE-79
Which versions are affected by CVE-2025-65013?
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.11.0 |
librenms/librenms Packagist | All versions | 25.11.0 |
Products include Librenms Librenms.
How do I fix CVE-2025-65013?
Upgrade librenms/librenms to 25.11.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-65013 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-65013 exists.
Other vulnerabilities in Librenms Librenms
Sources
Also known as GHSA-j8cq-7f6p-256x.