{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "1.47"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "03d6d76908b21612988af0ab112a787863ba183a"
            }
          ],
          "repo": "https://github.com/librenms/librenms",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "LibreNMS through 1.47 allows SQL injection via the html/ajax_table.php sort[hostname] parameter, exploitable by authenticated users during a search.",
  "id": "CVE-2018-20678",
  "modified": "2026-04-01T23:09:35.007268002Z",
  "published": "2019-03-28T16:29:00.393Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://cert.enea.pl/advisories/cert-190101.html"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/librenms/librenms/commits/master/html/ajax_table.php"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}