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

CVE-2024-50351: LibreNMS has a Reflected XSS ('Cross-site Scripting') in librenms/includes/functions.php

November 15, 2024

A Reflected Cross-Site Scripting (XSS) vulnerability in the “section” parameter of the “logs” tab of a device allows attackers to inject arbitrary JavaScript. This vulnerability results in the execution of malicious code when a user accesses the page with a malicious “section” parameter, potentially compromising their session and enabling unauthorized actions. The issue arises from a lack of sanitization in the “report_this()” function.

References

  • github.com/advisories/GHSA-v7w9-63xh-6r3w
  • github.com/librenms/librenms
  • github.com/librenms/librenms/commit/6a14a9bd767c6e452e4df77a24126c3eeb93dcbf
  • github.com/librenms/librenms/security/advisories/GHSA-v7w9-63xh-6r3w
  • nvd.nist.gov/vuln/detail/CVE-2024-50351

Code Behaviors & Features

Detect and mitigate CVE-2024-50351 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-50351.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:54 +0000.