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

 

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

Published: November 15, 2024 / Updated: April 24, 2026


Vulnerability identifier: #VU127452
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-50351
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 the context of a user's session.

The vulnerability exists due to improper neutralization of input during web page generation in the report_this() function and the device logs tab when handling the section parameter. A remote privileged user can send a specially crafted URL to execute arbitrary JavaScript in the context of a user's session.

User interaction is required to access the crafted page.


How to mitigate CVE-2024-50351

Install security update from vendor's website.

Sources