{"id":"CVE-2024-51494","published":"2024-11-15T15:43:38Z","modified":"2024-11-15T16:04:20Z","title":"LibreNMS has a Stored XSS ('Cross-site Scripting') in librenms/app/Http/Controllers/Table/EditPortsController.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 \"Port Settings\" page allows authenticated users to inject arbitrary JavaScript through the \"descr\" parameter when editing a device's port settings. This vulnerability can lead to the execution of malicious code when the \"Port Settings\" page is visited, potentially compromising the user's session and allowing unauthorized actions. 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.00604,"percentile":0.43021,"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-7663-37rg-c377","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/librenms/librenms/commit/82a744bfe29017b8b58b5752ab9e1b335bedf0a0","tags":["x_refsource_MISC"]}],"priority":{"score":12.0,"factors":[{"name":"EPSS percentile","points":8.6},{"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:02:34.375249Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"librenms/librenms","vulnerableRanges":["<24.10.0"],"patched":["24.10.0"],"from":["GHSA-7663-37rg-c377"],"provenance":"source"}],"summary":{"text":"A stored cross-site scripting flaw in LibreNMS, located in the Port Settings page handled by librenms/app/Http/Controllers/Table/EditPortsController.php, allows script injection through the \"descr\" parameter when a device's port settings are edited. An attacker who is an authenticated, high-privilege user can plant malicious JavaScript that runs in the browser of a user who must take action, such as visiting the Port Settings page, which could compromise that user's session and enable unauthorized actions.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:01:27Z"},"euvd":{"id":"EUVD-2024-3206","exploited":false,"provenance":"source"}}