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

 

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

Published: November 15, 2024 / Updated: May 5, 2026


Vulnerability identifier: #VU129733
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-49759
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 another user's session.

The vulnerability exists due to cross-site scripting in librenms/includes/html/pages/edituser.inc.php when rendering the "Bill Access" dropdown with a user-controlled bill_name value. A remote privileged user can create or update a bill with a specially crafted bill_name parameter to execute arbitrary JavaScript in another user's session.

User interaction is required when a victim visits the "Manage Access" page and the payload is triggered from the "Bill Access" dropdown.


How to mitigate CVE-2024-49759

Install security update from vendor's website.

Sources