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

CVE-2024-47527: LibreNMS has Stored Cross-site Scripting vulnerability in "Device Dependencies" feature

October 1, 2024

A Stored Cross-Site Scripting (XSS) vulnerability in the “Device Dependencies” feature allows authenticated users to inject arbitrary JavaScript through the device name (“hostname” parameter). This vulnerability can lead to the execution of malicious code in the context of other users’ sessions, potentially compromising their accounts and allowing unauthorized actions.

References

  • github.com/advisories/GHSA-rwwc-2v8q-gc9v
  • github.com/librenms/librenms
  • github.com/librenms/librenms/blob/9455173edce6971777cf6666d540eeeaf6201920/includes/html/pages/device-dependencies.inc.php
  • github.com/librenms/librenms/commit/36b38a50cc10d4ed16caab92bdc18ed6abac9685
  • github.com/librenms/librenms/security/advisories/GHSA-rwwc-2v8q-gc9v
  • nvd.nist.gov/vuln/detail/CVE-2024-47527

Code Behaviors & Features

Detect and mitigate CVE-2024-47527 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.9.0

Fixed versions

  • 24.9.0

Solution

Upgrade to version 24.9.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-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/librenms/librenms/CVE-2024-47527.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:46 +0000.