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

 

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

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


Vulnerability identifier: #VU129734
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2024-49758
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 a web page in device notes rendering within ExamplePlugin when rendering device notes in the device overview. A remote privileged user can inject crafted JavaScript into a device's notes to execute arbitrary JavaScript code in the context of other users' sessions.

User interaction is required when a victim visits the affected device overview, and only instances with ExamplePlugin enabled are vulnerable.


How to mitigate CVE-2024-49758

Install security update from vendor's website.

Sources