# CVE-2024-50350: LibreNMS has a Stored XSS ('Cross-site Scripting') in librenms/app/Http/Controllers/Table/EditPortsController.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.41%, higher than 37% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-11-15T15:30:05.000Z
- Modified: 2026-06-17T08:04:17.167Z
- Also known as: GHSA-xh4g-c9p6-5jxg
- 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 Stored Cross-Site Scripting (XSS) vulnerability in the "Port Settings" page allows authenticated users to inject arbitrary JavaScript through the "name" parameter when creating a new Port Group. This vulnerability results in the execution of malicious code when the "Port Settings" page is visited after the affected Port Group is added to a device, potentially compromising user sessions and allowing unauthorized actions. 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-xh4g-c9p6-5jxg> (exploit, vendor-advisory, web)
- <https://github.com/librenms/librenms/commit/82a744bfe29017b8b58b5752ab9e1b335bedf0a0> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-50350> (advisory)
- <https://github.com/librenms/librenms> (package)

## Sources

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

---

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