Cross-site scripting in LibreNMS - CVE-2024-47527

 

Cross-site scripting in LibreNMS - CVE-2024-47527

Published: October 1, 2024 / Updated: May 5, 2026


Vulnerability identifier: #VU129737
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U/U:Clear
CVE-ID: CVE-2024-47527
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: LibreNMS Project
Affected software:
LibreNMS

Detailed vulnerability description

The vulnerability allows a remote user to execute arbitrary JavaScript in other users' sessions.

The vulnerability exists due to cross-site scripting in device-dependencies.inc.php when rendering the Device Dependencies feature with a crafted hostname parameter. A remote privileged user can create a device with a specially crafted hostname to execute arbitrary JavaScript in other users' sessions.

User interaction is required when another user visits the device dependencies page.


How to mitigate CVE-2024-47527

Install security update from vendor's website.

Sources