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

CVE-2024-47526: LibreNMS has Stored Cross-site Scripting vulnerability in "Alert Templates" feature

October 1, 2024

A Self Cross-Site Scripting (Self-XSS) vulnerability in the “Alert Templates” feature allows users to inject arbitrary JavaScript into the alert template’s name. This script executes immediately upon submission but does not persist after a page refresh.

References

  • github.com/advisories/GHSA-gcgp-q2jq-fw52
  • github.com/librenms/librenms
  • github.com/librenms/librenms/blob/0e741e365aa974a74aee6b43d1b4b759158a5c7e/includes/html/forms/alert-templates.inc.php
  • github.com/librenms/librenms/blob/0e741e365aa974a74aee6b43d1b4b759158a5c7e/includes/html/modal/alert_template.inc.php
  • github.com/librenms/librenms/commit/f259edc19b9f0ccca484c60b1ba70a0bfff97ef5
  • github.com/librenms/librenms/security/advisories/GHSA-gcgp-q2jq-fw52
  • nvd.nist.gov/vuln/detail/CVE-2024-47526

Code Behaviors & Features

Detect and mitigate CVE-2024-47526 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 3.5 LOW

CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/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-47526.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:33 +0000.