NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

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

mediumCVSS 3.1 5.4GHSA-g84x-g96g-rcjc

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.

Published Jan 16, 2025 · Updated Mar 25, 2025

Affected packages

librenms/librenms

Ecosystem
Composer (PHP)
Affected
<= 24.10.1
Fixed in
24.11.0
Check
composer show librenms/librenms

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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: ">.

image

  1. Submit the form to save changes.

5 The script will execute when the error alert "No reply with community + payload" appears. image

Impact:

Execution of Malicious Code

Credited to tCu0n9.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries