{"id":"CVE-2024-50351","published":"2024-11-15T15:34:42Z","modified":"2024-11-15T17:20:43Z","title":"LibreNMS has a Reflected XSS ('Cross-site Scripting') in librenms/includes/functions.php","vendor":"librenms","product":"librenms","tier":"tail","description":{"text":"LibreNMS is an open-source, PHP/MySQL/SNMP-based network monitoring system. A Reflected Cross-Site Scripting (XSS) vulnerability in the \"section\" parameter of the \"logs\" tab of a device allows attackers to inject arbitrary JavaScript. This vulnerability results in the execution of malicious code when a user accesses the page with a malicious \"section\" parameter, potentially compromising their session and enabling unauthorized actions. The issue arises from a lack of sanitization in the \"report_this()\" function. 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-v7w9-63xh-6r3w","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/librenms/librenms/commit/6a14a9bd767c6e452e4df77a24126c3eeb93dcbf","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-15T17:19:51.836805Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"librenms/librenms","vulnerableRanges":["<24.10.0"],"patched":["24.10.0"],"from":["GHSA-v7w9-63xh-6r3w"],"provenance":"source"}],"summary":{"text":"LibreNMS has a reflected cross-site scripting flaw in librenms/includes/functions.php, where the \"report_this()\" function fails to sanitise the \"section\" parameter on a device's logs tab. An attacker who gets a user to open a crafted URL with a malicious \"section\" value can run arbitrary JavaScript in that user's browser, which requires the attacker to have privileges (not anonymous), user interaction, and the victim's session context.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:01:59Z"},"euvd":{"id":"EUVD-2024-3316","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-librenms-librenms-cve-2021-44277","children":[{"from":"CVE-2024-50351","to":"CVE-2025-62365","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["includes/functions.php"],"commits":["https://github.com/librenms/librenms/commit/6a14a9bd767c6e452e4df77a24126c3eeb93dcbf","https://github.com/librenms/librenms/commit/30d3dd7e5f5e22a8c23c9db3ad90a731c005b008"],"basis":"shared function","functions":["delta_to_bits"]},{"kind":"similar","provenance":"machine","score":0.38,"basis":"same product + CWE + description similarity"}]}]}}