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

CVE-2024-51497: LibreNMS has a Stored XSS ('Cross-site Scripting') in librenms/includes/html/print-customoid.php

November 15, 2024

A Stored Cross-Site Scripting (XSS) vulnerability in the “Custom OID” tab of a device allows authenticated users to inject arbitrary JavaScript through the “unit” parameter when creating a new OID. This vulnerability can lead to the execution of malicious code in the context of other users’ sessions, compromising their accounts and enabling unauthorized actions.

References

  • github.com/advisories/GHSA-gv4m-f6fx-859x
  • github.com/librenms/librenms
  • github.com/librenms/librenms/commit/42b156e42a3811c23758772ce8c63d4d3eaba59b
  • github.com/librenms/librenms/security/advisories/GHSA-gv4m-f6fx-859x
  • nvd.nist.gov/vuln/detail/CVE-2024-51497

Code Behaviors & Features

Detect and mitigate CVE-2024-51497 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 before 24.10.0

Fixed versions

  • 24.10.0

Solution

Upgrade to version 24.10.0 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/librenms/librenms/CVE-2024-51497.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:15:18 +0000.