{"id":"CVE-2020-35700","aliases":["GHSA-h59f-p56g-g75v"],"url":"https://o3.security/vulnerability/CVE-2020-35700","summary":"SQL Injection in librenms","details":"A second-order SQL injection issue in Widgets/TopDevicesController.php (aka the Top Devices dashboard widget) of LibreNMS before 21.1.0 allows remote authenticated attackers to execute arbitrary SQL commands via the sort_order parameter against the /ajax/form/widget-settings endpoint.","published":"2021-02-08T09:15:12.463Z","modified":"2026-07-08T20:42:43.568154Z","cvss":{"score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"Packagist","name":"librenms/librenms","fixedVersion":"21.1.0"}],"fix":{"url":"https://github.com/librenms/librenms/pull/12422","label":"librenms/librenms#12422"},"references":[{"type":"ADVISORY","url":"https://github.com/librenms/librenms/blob/master/app/Http/Controllers/Widgets/TopDevicesController.php"},{"type":"ADVISORY","url":"https://github.com/librenms/librenms/issues/12405"},{"type":"ADVISORY","url":"https://github.com/librenms/librenms/releases/tag/21.1.0"},{"type":"FIX","url":"https://github.com/librenms/librenms/pull/12422"},{"type":"EVIDENCE","url":"https://www.horizon3.ai/disclosures/librenms-second-order-sqli"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T20:42:43.568154Z"}}