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

CVE-2024-49754: LibreNMS has a stored XSS ('Cross-site Scripting') in librenms/includes/html/pages/api-access.inc.php

November 15, 2024

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

References

  • github.com/advisories/GHSA-gfwr-xqmj-j27v
  • github.com/librenms/librenms
  • github.com/librenms/librenms/commit/25988a937cbaebd2ba4c0517510206c404dfb359
  • github.com/librenms/librenms/security/advisories/GHSA-gfwr-xqmj-j27v
  • nvd.nist.gov/vuln/detail/CVE-2024-49754

Code Behaviors & Features

Detect and mitigate CVE-2024-49754 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-49754.yml

Spotted a mistake? Edit the file on GitLab.

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

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