# CVE-2024-49764: LibreNMS has a Stored XSS ('Cross-site Scripting') in librenms/includes/html/pages/device/capture.inc.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.60%, higher than 43% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-11-15T15:27:42.000Z
- Modified: 2026-06-17T08:00:24.290Z
- Also known as: GHSA-rmr4-x6c9-jc68
- 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 "Capture Debug Information" page allows authenticated users to inject arbitrary JavaScript through the "hostname" parameter when creating a new device. This vulnerability results in the execution of malicious code when the "Capture Debug Information" page is visited, redirecting the user and sending non-httponly cookies to an attacker-controlled domain. 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-rmr4-x6c9-jc68> (exploit, vendor-advisory, web)
- <https://github.com/librenms/librenms/commit/af15eabbb1752985d36f337cecf137a947e170f6> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-49764> (advisory)
- <https://github.com/librenms/librenms> (package)

## Sources

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

---

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