{"id":"CVE-2024-51497","published":"2024-11-15T15:46:59Z","modified":"2024-11-15T17:17:08Z","title":"LibreNMS has a Stored XSS ('Cross-site Scripting') in librenms/includes/html/print-customoid.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 \"Custom OID\" tab of a device allows authenticated users to inject arbitrary JavaScript through the \"unit\" parameter when creating a new OID. This vulnerability can lead to the execution of malicious code in the context of other users' sessions, compromising their accounts and enabling 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.00435,"percentile":0.38704,"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-gv4m-f6fx-859x","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/librenms/librenms/commit/42b156e42a3811c23758772ce8c63d4d3eaba59b","tags":["x_refsource_MISC"]}],"priority":{"score":11.1,"factors":[{"name":"EPSS percentile","points":7.74},{"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-15T17:16:10.807908Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"librenms/librenms","vulnerableRanges":["<24.10.0"],"patched":["24.10.0"],"from":["GHSA-gv4m-f6fx-859x"],"provenance":"source"}],"summary":{"text":"A stored cross-site scripting flaw in the Custom OID tab of devices in LibreNMS, specifically in the print-customoid.php component, where the \"unit\" parameter is not properly neutralised when a new OID is created. An attacker with an authenticated account that has high privileges can exploit this by convincing another user to interact with the affected page, which causes injected JavaScript to run in that user's session, potentially compromising their account and enabling unauthorised actions.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:00:54Z"},"euvd":{"id":"EUVD-2024-3257","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-librenms-cve-2022-36745","parents":[{"from":"CVE-2022-36745","to":"CVE-2024-51497","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["includes/html/print-customoid.php"],"commits":["https://github.com/librenms/librenms/commit/e5c91a0f835d59e058d9d3e4956e079476d59ee6","https://github.com/librenms/librenms/commit/42b156e42a3811c23758772ce8c63d4d3eaba59b"],"basis":"rarely changed file"}]},{"from":"CVE-2022-36746","to":"CVE-2024-51497","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["includes/html/print-customoid.php"],"commits":["https://github.com/librenms/librenms/commit/e5c91a0f835d59e058d9d3e4956e079476d59ee6","https://github.com/librenms/librenms/commit/42b156e42a3811c23758772ce8c63d4d3eaba59b"],"basis":"rarely changed file"}]}]}}