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

- Severity: Medium 4.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 38% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-11-15T15:34:36.000Z
- Modified: 2026-06-17T08:04:17.287Z
- Also known as: GHSA-v7w9-63xh-6r3w
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- librenms librenms: < 24.10.0; before 24.10.0
- librenms/librenms (Packagist): before 24.10.0

## Every score

- GitHub_M: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:L`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/librenms/librenms/security/advisories/GHSA-v7w9-63xh-6r3w> (exploit, vendor-advisory, web)
- <https://github.com/librenms/librenms/commit/6a14a9bd767c6e452e4df77a24126c3eeb93dcbf> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-50351> (advisory)
- <https://github.com/librenms/librenms> (package)

## Sources

- CVE List: [CVE-2024-50351](https://www.cve.org/CVERecord?id=CVE-2024-50351), CVE Terms of Use, modified 2024-11-15
- GitHub Advisory Database: [GHSA-v7w9-63xh-6r3w](https://github.com/advisories/GHSA-v7w9-63xh-6r3w), CC-BY-4.0, modified 2024-11-15
- NVD: [CVE-2024-50351](https://nvd.nist.gov/vuln/detail/CVE-2024-50351), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-50351 · Whole record: https://cve.day/CVE-2024-50351.json · Rebuilt by cve.day 2026-11-25T22:58:48.302Z
