Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. librenms/librenms
  4. ›
  5. CVE-2026-27016

CVE-2026-27016: LibreNMS has a Stored XSS in Custom OID - unit parameter missing strip_tags()

February 18, 2026 (updated February 20, 2026)

The unit parameter in 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, allowing Stored XSS.

References

  • github.com/advisories/GHSA-fqx6-693c-f55g
  • github.com/librenms/librenms
  • github.com/librenms/librenms/commit/3bea263e02441690c01dea7fa3fe6ffec94af335
  • github.com/librenms/librenms/pull/19040
  • github.com/librenms/librenms/releases/tag/26.2.0
  • github.com/librenms/librenms/security/advisories/GHSA-fqx6-693c-f55g
  • nvd.nist.gov/vuln/detail/CVE-2026-27016

Code Behaviors & Features

Detect and mitigate CVE-2026-27016 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 24.10.0 before 26.2.0

Fixed versions

  • 26.2.0

Solution

Upgrade to version 26.2.0 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-116: Improper Encoding or Escaping of Output
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/librenms/librenms/CVE-2026-27016.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 12 Mar 2026 00:16:37 +0000.