Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2019-10670

An issue was discovered in LibreNMS through 1.47. Many of the scripts rely on the function mysqli_escape_real_string for filtering data. However, this is particularly ineffective when returning user supplied input in an HTML or a JavaScript context, resulting in unsafe data being injected into these contexts, leading to attacker controlled JavaScript executing in the browser. One example of this is the string parameter in html/pages/inventory.inc.php.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2019-10670
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 07:59 UTC · Revision 1

Source evidence

CVE-2019-10670

core-osv · Original source

Published 9 Sept 2019, 14:15 UTC

An issue was discovered in LibreNMS through 1.47. Many of the scripts rely on the function mysqli_escape_real_string for filtering data. However, this is particularly ineffective when returning user supplied input in an HTML or a JavaScript context, resulting in unsafe data being injected into these contexts, leading to attacker controlled JavaScript executing in the browser. One example of this is the string parameter in html/pages/inventory.inc.php.

osv:CVE-2019-10670
Complete source record
{
  "id": "8578cf4d60e0674ceac5bd3d668f7cc1dbd97f702a4b30af9678a763ed4ab320",
  "url": "https://osv.dev/vulnerability/CVE-2019-10670",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2019-10670",
    "summary": "An issue was discovered in LibreNMS through 1.47. Many of the scripts rely on the function mysqli_escape_real_string for filtering data. However, this is particularly ineffective when returning user supplied input in an HTML or a JavaScript context, resulting in unsafe data being injected into these contexts, leading to attacker controlled JavaScript executing in the browser. One example of this is the string parameter in html/pages/inventory.inc.php.",
    "evidence": "osv:CVE-2019-10670",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2019-10670",
      "aliases": [
        "CVE-2019-10670"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/librenms/librenms",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "03d6d76908b21612988af0ab112a787863ba183a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:librenms:librenms:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "1.47"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.47",
            "1.46",
            "1.45",
            "1.44",
            "1.43",
            "1.42.01",
            "1.42",
            "1.41",
            "1.40",
            "1.39",
            "1.38",
            "1.37",
            "1.36",
            "1.35",
            "1.33",
            "1.32",
            "1.31.03",
            "1.31.02",
            "1.31.01",
            "1.28",
            "1.27",
            "1.26",
            "1.25",
            "1.21",
            "201609",
            "1.20",
            "20160828",
            "1.19",
            "201608",
            "201607",
            "201606",
            "201605",
            "201604",
            "201603",
            "201602",
            "201601",
            "201512",
            "201511",
            "201510",
            "201509",
            "201508",
            "201507",
            "201505",
            "201506",
            "0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-10670.json"
          }
        }
      ],
      "modified": "2026-10-24T10:31:01.234011737Z",
      "provider": "osv",
      "references": [
        "https://www.darkmatter.ae/xen1thlabs/librenms-multiple-reflected-cross-site-scripting-vulnerability-xl-19-021/"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2019-10670",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 439752,
  "published_at": "2019-09-09T14:15:11.413+00:00"
}