Skip to content
Heist/ feed
Back to feed
Medium

LibreNMS has Stored XSS in Custom OID - unit parameter missing strip_tags()

Type: advisorySources: OSV

LibreNMS is an auto-discovering PHP/MySQL/SNMP based network monitoring tool. Versions 24.10.0 through 26.1.1 are vulnerable to Stored XSS via the unit parameter in Custom OID. The Custom OID functionality lacks strip_tags() sanitization while other fields (name, oid, datatype) are sanitized. The unsanitized value is stored in the database and rendered without HTML escaping. This issue is fixed in version 26.2.0.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-27016
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 02:15 UTC · Revision 1

Source evidence

LibreNMS has Stored XSS in Custom OID - unit parameter missing strip_tags()

core-osv · Original source

Published 20 Feb 2026, 01:34 UTC

LibreNMS is an auto-discovering PHP/MySQL/SNMP based network monitoring tool. Versions 24.10.0 through 26.1.1 are vulnerable to Stored XSS via the unit parameter in Custom OID. The Custom OID functionality lacks strip_tags() sanitization while other fields (name, oid, datatype) are sanitized. The unsanitized value is stored in the database and rendered without HTML escaping. This issue is fixed in version 26.2.0.

osv:CVE-2026-27016
Complete source record
{
  "id": "fd46c37a9e6204f172e075519bb5b4f72c37b9372bdb6f1a190b9fa29fddca1a",
  "url": "https://osv.dev/vulnerability/CVE-2026-27016",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "LibreNMS has Stored XSS in Custom OID - unit parameter missing strip_tags()",
    "summary": "LibreNMS is an auto-discovering PHP/MySQL/SNMP based network monitoring tool. Versions 24.10.0 through 26.1.1 are vulnerable to Stored XSS via the unit parameter in Custom OID. The Custom OID functionality lacks strip_tags() sanitization while other fields (name, oid, datatype) are sanitized. The unsanitized value is stored in the database and rendered without HTML escaping. This issue is fixed in version 26.2.0.",
    "evidence": "osv:CVE-2026-27016",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-27016",
      "aliases": [
        "CVE-2026-27016",
        "GHSA-fqx6-693c-f55g"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/librenms/librenms",
              "type": "GIT",
              "events": [
                {
                  "introduced": "a625d1ef0b66e093414d8d440f8b5f4f85baadfa"
                },
                {
                  "fixed": "eeaa05618c22140d087739097b217800b0d6621f"
                },
                {
                  "fixed": "3bea263e02441690c01dea7fa3fe6ffec94af335"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:librenms:librenms:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "24.10.0"
                      },
                      {
                        "fixed": "26.2.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "3bea263e02441690c01dea7fa3fe6ffec94af335"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "eeaa05618c22140d087739097b217800b0d6621f"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "26.2.0"
                  }
                ]
              }
            }
          ],
          "versions": [
            "26.1.0",
            "25.12.0",
            "25.11.0",
            "25.10.0",
            "25.9.0",
            "25.8.0",
            "25.7.0",
            "25.6.0",
            "25.5.0",
            "25.4.0",
            "25.3.0",
            "25.2.0",
            "25.1.0",
            "24.12.0",
            "24.11.0",
            "24.10.1",
            "24.10.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-27016.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:25.495827914Z",
      "provider": "osv",
      "references": [
        "https://github.com/librenms/librenms/releases/tag/26.2.0",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27016.json",
        "https://github.com/librenms/librenms/security/advisories/GHSA-fqx6-693c-f55g",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-27016",
        "https://github.com/librenms/librenms/commit/3bea263e02441690c01dea7fa3fe6ffec94af335",
        "https://github.com/librenms/librenms/pull/19040"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-116",
          "CWE-79"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27016.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-27016",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 491831,
  "published_at": "2026-02-20T01:34:11.241+00:00"
}