Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in LibreNMS - CVE-2024-50355

 

Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in LibreNMS - CVE-2024-50355

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


Vulnerability identifier: #VU129735
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2024-50355
CWE-ID: CWE-80
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 code in the context of other users' sessions.

The vulnerability exists due to improper neutralization of script-related HTML tags in device display name handling when rendering user-supplied display names across multiple endpoints. A remote privileged user can store a crafted device display name to execute arbitrary JavaScript code in the context of other users' sessions.

The injected script can be triggered from multiple interface locations, including alert-related views, event logs, dashboards, and the availability map.


How to mitigate CVE-2024-50355

Install security update from vendor's website.

Sources