{"id":"CVE-2024-49764","published":"2024-11-15T15:27:52Z","modified":"2024-11-15T16:50:01Z","title":"LibreNMS has a Stored XSS ('Cross-site Scripting') in librenms/includes/html/pages/device/capture.inc.php","vendor":"librenms","product":"librenms","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00414,"percentile":0.36639,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/librenms/librenms/security/advisories/GHSA-rmr4-x6c9-jc68","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/librenms/librenms/commit/af15eabbb1752985d36f337cecf137a947e170f6","tags":["x_refsource_MISC"]}],"priority":{"score":10.7,"factors":[{"name":"EPSS percentile","points":7.33},{"name":"CVSS severity","points":3.36}]},"vendorSlug":"librenms","affectedVersions":[{"vendor":"librenms","product":"librenms","versions":["< 24.10.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-11-15T16:47:58.784107Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"librenms/librenms","vulnerableRanges":["<24.10.0"],"patched":["24.10.0"],"from":["GHSA-rmr4-x6c9-jc68"],"provenance":"source"}],"summary":{"text":"A stored cross-site scripting flaw in LibreNMS, in the \"Capture Debug Information\" page (librenms/includes/html/pages/device/capture.inc.php), lets injected JavaScript be stored through the hostname field when a device is created and then executed whenever that debug page is visited. An attacker needs an authenticated account with high privileges that can create devices, and a user must visit the debug capture page to trigger the payload, which can redirect that user and expose non-httponly cookies to an attacker-controlled domain.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:03:07Z"},"euvd":{"id":"EUVD-2024-3311","exploited":false,"provenance":"source"}}