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

CVE-2025-23201: Librenms has a reflected XSS on error alert

January 16, 2025 (updated March 25, 2025)

XSS on the parameters:/addhost -> param: community

of Librenms versions 24.10.1 (https://github.com/librenms/librenms) allows remote attackers to inject malicious scripts. When a user views or interacts with the page displaying the data, the malicious script executes immediately, leading to potential unauthorized actions or data exposure.

Proof of Concept:

  1. Navigate to the /addhost path.

  2. Fill in all required fields.

  3. In the Community field, enter the following payload: "><img src=a onerror="alert(1)">.

    Click to open external image

  4. Submit the form to save changes. 5 The script will execute when the error alert “No reply with community + payload” appears.

    Click to open external image

Impact:

Execution of Malicious Code

References

  • github.com/advisories/GHSA-g84x-g96g-rcjc
  • github.com/librenms/librenms
  • github.com/librenms/librenms/security/advisories/GHSA-g84x-g96g-rcjc
  • nvd.nist.gov/vuln/detail/CVE-2025-23201

Code Behaviors & Features

Detect and mitigate CVE-2025-23201 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.11.0

Fixed versions

  • 24.11.0

Solution

Upgrade to version 24.11.0 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/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-2025-23201.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:58 +0000.