CVE-2024-50351
MEDIUM 5.4CVSS 3.1LibreNMS has a Reflected XSS ('Cross-site Scripting') in librenms/includes/functions.php
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.
- Published
- 15 Nov 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-79
- Also known as
- GHSA-v7w9-63xh-6r3w
- Sources
- NVDJSONOSV GHSA-v7w9-63xh-6r3wJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | librenms | librenmscpe:2.3:a:librenms:librenms:*:*:*:*:*:*:*:* |
< 24.10.0 | 24.10.0 |
| OSV | Packagist | librenms/librenms | < 24.10.0 | 24.10.0 |
References
- https://github.com/librenms/librenms/commit/6a14a9bd767c6e452e4df77a24126c3eeb93dcbf · Patch, WEB
- https://github.com/librenms/librenms/security/advisories/GHSA-v7w9-63xh-6r3w · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-50351 · ADVISORY
- https://github.com/librenms/librenms · PACKAGE
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 15 Nov 2024)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 15 Nov 2024)