CVE-2024-50351: LibreNMS has a Reflected XSS ('Cross-site Scripting') in librenms/includes/functions.php

CVE-2024-50351 affects 67 listed versions of LibreNMS in the Dawnsentry catalogue.

5.4CVSS medium
Proof of concept publicexploitation
under 1%EPSS (next 30 days)
15 November 2024published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

LibreNMS

67 of 107 listed versions are affected. Fixed in 24.10.0. The newest release, 26.11.0, is not affected.

24.9.1 24.9.0 24.8.1 24.8.0 24.7.0 24.6.0 24.5.0 24.4.1 24.4.0 24.3.0 24.2.0 24.1.0 23.11.0 23.10.0 23.9.1 23.9.0 23.8.2 23.8.1 23.8.0 23.7.0 23.6.0 23.5.0 23.4.1 23.4.0 23.2.0 23.1.1 23.1.0 22.12.0 22.11.0 22.10.0 22.9.0 22.8.0 22.7.0 22.6.0 22.5.0 22.4.1 22.4.0 22.3.0 22.2.2 22.2.1 22.2.0 22.1.0 21.12.1 21.12.0 21.11.0 21.10.2 21.10.1 21.10.0 21.9.1 21.9.0 21.8.0 21.7.0 21.6.0 21.5.1 21.5.0 21.4.0 21.3.0 21.2.0 21.1.0 1.65.1 and 7 more

What it is

LibreNMS is an open-source, PHP/MySQL/SNMP-based network monitoring system. A Reflected Cross-Site Scripting (XSS) vulnerability in the "section" parameter of the "logs" tab of a device allows attackers to inject arbitrary JavaScript. This vulnerability results in the execution of malicious code when a user accesses the page with a malicious "section" parameter, potentially compromising their session and enabling unauthorized actions. The issue arises from a lack of sanitization in the "report_this()" function. This vulnerability is fixed in 24.10.0.

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N (NVD)

Published by GitHub on 15 November 2024. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2024-50351 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.