CVE-2020-35700
HIGH 8.8CVSS 3.1SQL Injection in librenms
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
- 8 Feb 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-89
- Also known as
- GHSA-h59f-p56g-g75v
- Sources
- NVDJSONOSV GHSA-h59f-p56g-g75vJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | librenms | librenmscpe:2.3:a:librenms:librenms:*:*:*:*:*:*:*:* |
< 21.1.0 | 21.1.0 |
| OSV | Packagist | librenms/librenms | < 21.1.0 | 21.1.0 |
References
- https://github.com/librenms/librenms/blob/master/app/Http/Controllers/Widgets/TopDevicesController.php · Third Party Advisory, WEB
- https://github.com/librenms/librenms/issues/12405 · Third Party Advisory, WEB
- https://github.com/librenms/librenms/pull/12422 · Patch, Third Party Advisory, WEB
- https://github.com/librenms/librenms/releases/tag/21.1.0 · Release Notes, Third Party Advisory, WEB
- https://www.horizon3.ai/disclosures/librenms-second-order-sqli · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-35700 · ADVISORY
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 8 Feb 2021)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 6 May 2021)