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

CVE-2024-49764: LibreNMS has a Stored XSS ('Cross-site Scripting') in librenms/includes/html/pages/device/capture.inc.php

November 15, 2024

A Stored Cross-Site Scripting (XSS) vulnerability in the “Capture Debug Information” page allows authenticated users to inject arbitrary JavaScript through the “hostname” parameter when creating a new device. This vulnerability results in the execution of malicious code when the “Capture Debug Information” page is visited, redirecting the user and sending non-httponly cookies to an attacker-controlled domain.

References

  • github.com/advisories/GHSA-rmr4-x6c9-jc68
  • github.com/librenms/librenms
  • github.com/librenms/librenms/commit/af15eabbb1752985d36f337cecf137a947e170f6
  • github.com/librenms/librenms/security/advisories/GHSA-rmr4-x6c9-jc68
  • nvd.nist.gov/vuln/detail/CVE-2024-49764

Code Behaviors & Features

Detect and mitigate CVE-2024-49764 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

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-49764.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Thu, 12 Nov 2026 12:16:29 +0000.